Preprocessor Reference

Visual C++

This reference explains the preprocessor as it is implemented in Microsoft C/C++. The preprocessor performs preliminary operations on C and C++ files before they are passed to the compiler. The preprocessor allows you to:
  • Define and undefine macros.
  • Expand macros.
  • Conditionally compile code.
  • Insert specified files.
  • Specify compile-time error messages.
  • Apply machine-specific rules to specified sections of code.
What do you want to know more about?
Preprocessor directives.
Preprocessor operators.
Predefined macros.
Pragmas.

Interesting home pages
   The entire Visual C++ product.
C/C++ Language Quick Reference   Reference of language elements -- keywords and operators.
Compiling and Linking   Building your program.