Thursday, March 24, 2011

4.11 The C Preprocessor

  • C provides certain language facilities by means of a preprocessor, which is conceptually a separate first step in compilation
  • Two most frequently used features are #include and #define
  • #include includes the contents of a file during compilation
  • #define replace a token by an arbitrary sequence of characters.

No comments:

Post a Comment