Home Segments Index Top Previous Next

645: Sidetrip

You frequently see operating-system specific parts of a program bracketed by #ifdef#endif pairs, as in the following example, so as to make those program fragments invisible when the program is compiled for some other operating system:

#ifdef SUN 
// Program fragment specific to the SUN operating system 
#endif