Abstract
The preprocessor is a text substitution tool that modifies the source code before the compilation takes place. This modification is done according to the preprocessor directives that are included in the source files. The directives are easily distinguished from normal programming code in that they all start with a hash sign (#). They must always appear as the first non-whitespace character on a line, and they do not end with a semicolon. The following table shows the preprocessor directives available in C++ along with their functions.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2015 Mikael Olsson
About this chapter
Cite this chapter
Olsson, M. (2015). Preprocessor. In: C++ 14 Quick Syntax Reference. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1727-6_24
Download citation
DOI: https://doi.org/10.1007/978-1-4842-1727-6_24
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-1726-9
Online ISBN: 978-1-4842-1727-6
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)