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
/
663.jpg
< prev
next >
Joint Photographic Experts Group Image
|
2013-12-20
|
495KB
|
2550x3300
Labels:
binder
|
book
|
crt screen
|
reckoner
OCR:
Conditional Compilation 663 else temp factori ial( 1; EXIT factorial" Note return temp convert) qits long convert void or int ch; long sum 0 ENTER( "convert" while ((( ch getchar() BLANK && (ch != END OF LINE )) sdigi rror sum sum ch '0' #ifdef DEBUG Note 6 pr intf( "Converted Value: ld\n sum #endi EXIT( 'convert" Note 7 return sum error void error( void ENTER "error" pri intf( "Nondigit ir input Program term. nated \n" ): EXIT( "Termi inati ing Program" Note 7 exit Conditiona Procram Proc