|
|
1.1 root 1:
2:
3: #ifdef Preprocessing Directive #ifdef
4:
5:
6:
7:
8: Include code conditionally
9:
10:
11: The preprocessing directive #ifdef checks whether identifier has
12: been defined as a macro name. If identifier has been defined as
13: a macro, then the preprocessor includes group within the program,
14: up to the next #elif, #else, or #endif directive. If identifier
15: has not been defined, however, then group is skipped.
16:
17: An #ifdef directive can be followed by any number of #elif direc-
18: tives, by one #else directive, and must be followed by an #endif
19: directive.
20:
21: ***** Example *****
22:
23: For an example of using this directive in a program, see assert.
24:
25: ***** See Also *****
26:
27: #elif, #else, #endif, #if, #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.