September 14, 2010
August 21, 2010
Review OOP344
extern "C"{
include"hello.h"
}
The pre-processor substitutes each macro citation with the replacement text. The pre-processor recognizes three types of macros:
include"hello.h"
}
The pre-processor substitutes each macro citation with the replacement text. The pre-processor recognizes three types of macros:
- object-like macros
- function-like macros
- predefined macros
Function-like macros provide efficient and flexible solutions. They avoid the overhead of function calls and do not impose type constraints on the parameters in the macro definition.
Subscribe to:
Posts (Atom)