4 Introduction to Arrays

Chapter 5
Preprocessor Directives
The C compiler routes your programs through a preprocessor before it compiles them. C's preprocessor might be called a ''pre-compiler" because it preprocesses and prepares your source code for compiling before your compiler receives it.
Because this preprocess is so important to C, you should familiarize yourself with it before learning more specialized commands in the language itself. Regular C commands do not affect the preprocessor. You must supply special non-C commands, called preprocessor directives, to control the preprocessor. These directives enable you, for example, to effect changes to your source code before it reaches the compiler.
This chapter teaches you the following topics:
What preprocessor directives are
The #include preprocessor directive
The #define preprocessor directive
How to use the preprocessor directives

 



C by Example
C by Example
ISBN: 0789722399
EAN: 2147483647
Year: 1999
Pages: 43
Authors: Greg Perry

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net