|
|
1.1 root 1:
2:
3: #if Preprocessing Directive #if
4:
5:
6:
7:
8: Include code conditionally
9:
10:
11: The preprocessing directive #if tells the preprocessor that if
12: constant-expression is true (i.e., that it evalutes to a value
13: other than zero), then include the following lines of code within
14: the program until it reads the next #elif, #else, or #endif
15: directive.
16:
17: The constant-expression must be an integral expression, and it
18: cannot include a sizeof operator, a cast, or an enumeration con-
19: stant. All macro substitutions are performed upon the constant-
20: expression before it is evaluated. All integer constants are
21: treated as long objects, and are then evaluated. If constant-
22: expression includes character constants, all escape sequences are
23: converted into characters before evaluation.
24:
25: ***** See Also *****
26:
27: #elif, #else, #endif, #ifdef, #ifndef, C preprocessor
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.