|
|
1.1 root 1:
2:
3: manifest constant Definition manifest constant
4:
5:
6:
7:
8: A manifest constant is a numeric constant that is given a name so
9: it can be defined differently under different computing environ-
10: ments. An example is EOF, the end-of-file marker, which has
11: wildly different representations under different operating sys-
12: tems. Note, too, that numerals are manifest constants by defini-
13: tion.
14:
15: The use of manifest constants in programs helps to ensure that
16: code is portable by isolating the definition of these elements in
17: a single header file, where they need to be changed only once.
18:
19: ***** See Also *****
20:
21: #define, definitions, NULL, portability
22:
23:
24:
25:
26:
27:
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.