The C preprocessor

Though the C preprocessor is one of the most powerful features of C and C++, avoid using it. Except for #include files, preprocessor symbols, and conditional compilation, C++ has features that supersede most of the techniques that required the C preprocessor. Sometimes you need to use the preprocessor to accomplish things you can't with C++, but the need occurs far less often than when using straight C. For example, the Taligent Application Environment uses macros in some places to create meta-information that cannot be found via the current, interim runtime. Be careful though--the Taligent Development System restricts how you can use the preprocessor.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker