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


craa27@strath.ac.uk
Tue Jan 17 11:40:37 GMT 1995