Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Microsoft C - <b>an overview of preprocessor directives</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
An Overview of Preprocessor Directives

    A few general rules govern the use of preprocessor directives:

         Preprocessor directives are introduced by the # character. The #
         must be the first non-white-space character on the line.

         Blanks and tabs may not appear between the # and the directive
         name.

         Directives have file scope--they apply from the point at which
         they first appear, to the end of the source file.

         Unlike C statements, preprocessor directives do not require a
         terminating semicolon.

         The directive consisting of a # only, supported by many
         compilers, is not supported by MS-C compiler.

         The compile-time switches /P, /E and /EP save the output
         produced by the preprocessor. The /C option allows comments to
         be retained.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson