How to Configure Error C++ Compilers

C++ compilers are often used in Linux operating systems when building computer programs that run off of the C++ programming architecture. When you are dealing with a C++ compiler (one of the most common is called "GCC" on Linux) you should configured the errors in the compiler to display properly. This allows you to deal with error messages that may occur instead of running into them in your fully compiled program.

Instructions

    • 1

      Boot up your operating system and start your C++ compiler. While GCC is a common compiler, the configuration of error messages is the same in other compiler programs as well.

    • 2

      Open the main "Settings" window of the compiler.

    • 3

      Select the option that is labeled "error_x=cc" to turn on the error messages in your compiler.

    • 4

      Compile the program that you are writing, and any errors that are found are now displayed in plain English, instead of being in the cryptic hexadecimal format that the compiler presents them in when the "error_x=cc" option is not selected.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured