1993 | OriginalPaper | Chapter
The C Preprocessor
Authors : B. A. E. Meekings, T. P. Kudrycki, M. D. Soren
Published in: A Book on C
Publisher: Macmillan Education UK
Included in: Professional Book Archive
Activate our intelligent search to find suitable subject content or patents.
Select sections of text to find matching patents with Artificial Intelligence. powered by
Select sections of text to find additional relevant content using AI-assisted search. powered by
We have already introduced the C preprocessor directives #include and #define for file inclusion and symbol definition capabilities. In this chapter, we expand the discussion to include all other capabilities of the preprocessor such as the #undef directive, the use of the conditional compilation directives #if, #ifdef, #ifndef, #else, #elif and #endif, string concatenation and token pasting. In addition, parameters for the #define directive are introduced to yield a more powerful macro facility. Some of these facilities have been defined recently in the ANSI standard and may not be available on your implementation.