+ 5

I want exsmple for each preprocessor...

Preprocessor Directives c The C preprocessor uses the # directives to make substitutions in program source code before compilation. For example, the line #include <stdio.h> is replaced by the contents of the stdio.h header file before a program is compiled. Preprocessor directives and their uses: #include Including header files. #define, #undef Defining and undefining macros. #ifdef, #ifndef, #if, #else, #elif, #endif Conditional compilation. #pragma Implementation and compiler specific. #error, #warning Output an error or warning message An error halts compilation.

7th Sep 2018, 3:21 PM
Sowmiya
Sowmiya - avatar
6 Answers
+ 3
statements starting with # are preprocessor directives To include a header file we use #include<header.h> It won't work without #, it is a part of the statement
10th Sep 2018, 8:27 AM
Sowmiya
Sowmiya - avatar
+ 2
I'm sorry, but you'll need to search by yourself on internet, because that's too much to type here. 😑
8th Sep 2018, 9:24 PM
Vasile Eftodii
Vasile Eftodii - avatar
+ 1
int[] items; // initialization forEach(int i in item) { cout << i }
8th Sep 2018, 12:07 PM
TomĂĄĆĄ WrĂłbel
TomĂĄĆĄ WrĂłbel - avatar
+ 1
What does mean "preprocessor"?
10th Sep 2018, 7:44 AM
TomĂĄĆĄ WrĂłbel
TomĂĄĆĄ WrĂłbel - avatar
0
i can't understand..
8th Sep 2018, 12:36 PM
Sowmiya
Sowmiya - avatar
0
okie.... sure..tanq...
9th Sep 2018, 3:29 AM
Sowmiya
Sowmiya - avatar