[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


Preprocessing Source Code

The preprocessor prepares source code for the compiler. This preprocessor interprets directives beginning with the "#" and "$" symbols (such as #define, $pragma and #ifdef), removes extra spaces and blank lines, and removes comments (such as /**/ and //). You might want to preprocess a file if you want to see what the code looks like just before compilation.

Open a file that you want to preprocess, or select a file in your currently-open Project window. To preprocess a file, select the Preprocess command from the Project Menu. The results of the Preprocess command are stored in a new file. This new file is named after the preprocessed source-code file and begins with the "#" character.

To save the contents of the new window, choose one of the save commands in the File Menu.


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 17, 2000