ILE C/C++ Compiler Reference


Macro Directives and Operators (#define, #undef, #, ##)

A macro is a literal name that can be assigned a value. Before a program is compiled, the preprocessor substitutes occurences of each macro in program source code with that macro's assigned value.

Macros can be predefined by the operating system or the compiler. See Chapter 2, Predefined Macros for more information on these.

Macros can also be defined in program source code, as described below.


[ Top of Page | Previous Page | Next Page | Table of Contents ]