Abstract
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 the #undef directive, and the use of the conditional compilation directives #if, #ifdef, #ifndef, #else and #endif. In addition, parameters for the #define directive are introduced to yield a more powerful macro facility.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Copyright information
© 1988 R. E. Berry, B. A. E. Meekings and M. D. Soren
About this chapter
Cite this chapter
Berry, R.E., Meekings, B.A.E., Soren, M.D. (1988). The C Preprocessor. In: A Book on C. Macmillan Computer Science Series. Palgrave Macmillan, London. https://doi.org/10.1007/978-1-349-10233-4_11
Download citation
DOI: https://doi.org/10.1007/978-1-349-10233-4_11
Publisher Name: Palgrave Macmillan, London
Print ISBN: 978-0-333-46529-5
Online ISBN: 978-1-349-10233-4
eBook Packages: Computer ScienceComputer Science (R0)