The preprocessor runs before the compiler proper. The preprocessor:
modifies the source code
processes preprocessor instructions
lines beginning with #
strips out comments
The common pre-processor instructions are
#include
insert a file
#define
define a macro
#ifdef, #ifndef, #endif
check to see if a macro has been defined
Discuss This Page: