[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppCompiler
A program that converts your C++ code into assembly code. The process of doing this, is called compile-time.
The compiler might give warnings and compiler errors.
Pay attention to compiler warnings [1,2].
Prefer compile-time errors over run-time errors [3].
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppCompiler
(C++) Compiler
Trying to outsmart a compiler defeats much of the purpose of using one
[/italic]
Brian Kernighan & P.J. Plauger
If you lie to the compiler, it will get its revenge
[/italic]
Henry Spencer
There will always be things we wish to say in our programs
[/italic]
that in all languages can only be said poorly
[/italic]
Alan Perlis
A program that converts your C++ code into assembly code. The process of doing this, is called compile-time.
The compiler might give warnings and compiler errors.
Pay attention to compiler warnings [1,2].
Prefer compile-time errors over run-time errors [3].
Some C++ compilers
- ?GCC.EXE also known as G++, from the GNU Compiler Collection
- Intel C++ compiler
- Digital Mars
- OpenWatcom
'Compiler' links
External links
- http://en.wikipedia.org/wiki/Compiler
References
- 1) Scott Meyers. Effective C++ (3rd edition).ISBN: 0-321-33487-6. Item 53: Pay attention to compiler warnings
- 2) Herb Sutter and Andrei Alexandrescu. C++ coding standards: 101 rules, guidelines, and best practices. ISBN: 0-32-111358-6. Chapter 1: 'Compile cleanly at high warning levels'.
- 3) Herb Sutter and Andrei Alexandrescu. C++ coding standards: 101 rules, guidelines, and best practices. ISBN: 0-32-111358-6. Chapter 14: 'Prefer compile- and link-time errors to run-time errors'.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
