C++ Tips: Preprocessing

Table of Contents

Include file scheme
The evils of macros
Stringizing a macro
Guarding complex macros
advice on when to use macros
the flexibility of preprocessor directives
.h and include files
preprocessing phases
identifying compiler support level with __cplusplus
managing include files via the gaurd idiom
includes and compile time depedencies
inserting build times into code
for loop scope preprocessor hack
include guards for speeding up compiles
detecting conforming compilers at compile time
is the preprocessor dead in C++?
difference between <string> and <string.h>
including via <header> versus <header.h>
preprocessor comment replacement
Amok Code
std lib headers and portability

This site was grabbed using the TRIAL version of Grab-a-Site. This message does not appear on a licensed copy of Grab-a-Site.