|
|
|
|
|
|
|
Q My compiler has a built-in editor; is that the right thing to use? |
|
|
|
|
|
|
|
|
A Almost all compilers will compile code produced by any text editor. The advantages of using the built-in text editor, however, might include the capability to quickly move back and forth between the edit and compile steps of the development cycle. Sophisticated compilers include a fully integrated development environment, enabling the programmer to access help files, edit, and compile the code in place, and to resolve compile and link errors without ever leaving the environment. |
|
|
|
|
|
|
|
|
Q Can I ignore warning messages from my compiler? |
|
|
|
|
|
|
|
|
A Absolutely not. Get into the habit of treating warning messages as errors. C++ uses the compiler to warn you when you are doing something you might not intend; heed those warnings and do what is required to make them go away. |
|
|
|
|
|
|
|
|
A Compile-time is the time when you run your compiler, as opposed to link-time (when you run the linker) or run-time (when you run the program). |
|
|
|
|
|