home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_11 / 658.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-20  |  598KB  |  2550x3300
Labels: book | crt screen | monitor | poster | reckoner
OCR: 658 Chapter C Library and Preprocessor Facilities #ifdef ZXX or #if defi ined XYZ can be used test whether the symbol ZXX has been defined to the compiler. If it has, the lines following the directive until the occurrence of either #e Lse or #endif in the source code file will be included for compilation. If the symbol ZXX has not been defined to the compiler, the lines are omitted The directives and #elif work similarly else or include conditional statement. With them possible to choose which source lines The program ccomp. of Example 11-17 is a start on a program to accept input of the customer's name and account number from standard input and store them in a file. The code to read and store the monthly transactions still needs to be added Example 11-17: ccomp.c ccomp Synopsis Accepts in ...