Translation And Preprocessor Flashcards
1
Q
Translation
A
Phase prior to compilation
2
Q
Translation unit
A
File with applied translation
3
Q
Preprocessor
A
Seperate program that manipulates the text in each code file
4
Q
Preprocessor directives
A
Instructions that start with # symbol and end with newline, they tell the preprocessor to perform specific tasks
5
Q
Common preprocessor directives
A
- includes, replaces the directive with its contents
- macro defines, macro rule how input text is converted to output
- object-like macros with substitution text, identifier is replaced by substitution text
- object-like macros without substitution text, replaces it with nothing
- conditional compilation, conditions for compilations