-
WikiChip
WikiChip
-
Architectures
Popular x86
-
Intel
- Client
- Server
- Big Cores
- Small Cores
-
AMD
Popular ARM
-
ARM
- Server
- Big
- Little
-
Cavium
-
Samsung
-
-
Chips
Popular Families
-
Ampere
-
Apple
-
Cavium
-
HiSilicon
-
MediaTek
-
NXP
-
Qualcomm
-
Renesas
-
Samsung
-
From WikiChip
Difference between revisions of "c/preprocessor"
< c
(initial page) |
(No difference)
|
Revision as of 16:39, 23 December 2013
C Programming Language |
Intro Basics Math Control Structures Operators Arrays & Pointers Strings Structured Types I/O Concurrency Other |
The C preprocessor (CPP) is a program that implements the macro language used to transform C programming language program before they are compiled. Some CPPs can be used as a stand-lone utilities which are called by the C compiler during the first steps of the translation process. The C preprocessor provides the ability to include additional files, perform basic substitutions, generate errors. The C preprocessor supports conditional statements which allows conditional compilation based on some previously defined configurations.
Role
The C preprocessor is invoked during the first four phases of translation. The preprocessor's job is:
- Perform Trigraph replacement
- Perform escaped new-line characters removal
- Perform tokenization; replace comments with a single space character
- Perform macro expansion
Retrieved from "https://en.wikichip.org/w/index.php?title=c/preprocessor&oldid=1036"