October 1997
Intermediate to advanced
800 pages
20h 48m
English
The preprocessor is separate from the C++ compiler and has its own syntax rules. Programs use the preprocessor to include header files, provide textual substitutions before compilation, and conditionally compile lines of C++ code. Preprocessor directives start with a # as the first character on a line. A backslash (\) preceding a return continues a directive to the next line. The preprocessor accepts directives anywhere in a source file, and directives may appear inside other directives.
The include file directive compiles lines from other files in your code. The two include file directives are
#include "file" #include <file>
The first directive searches your current directory for file before ...