Next: Programs with Several Up: Conditional selection of Previous: Using #ifdef for

Using #ifdef to Temporarily Remove Program Statements

#ifdef also provides a useful means of temporarily `blanking out' lines of a program. The lines in question are preceeded by #ifdef NEVER and followed by #endif. Of course you should ensure that the name NEVER isn't defined anywhere.

The preprocessor has several other useful facilities. If you are interested in these you can read more by typing


  man cpp


January 1995