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 / 622.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-19  |  574KB  |  2550x3300
Labels: binder | book | daybook | poster | reckoner
OCR: 62 Chapter 1 C Library and Preprocessor Facilities int ch; int num Lower nums space nument numa numdi lpha igit numpunct argc else fopen argv[1], "r" NULL Note 2 open file \n" argv [1] exit while (( ch isa lpha getc( ch fp )) != EOF numal lpha Note3 is lower( ch tunu ower Note 4 else numuppe r++ Note 5 else if isdigit( ch numdigit++, Note 6 else if space ch numspace- Note 7 else if ispunct( ch numpunct Note else iscnt rl( ch numen tr Note 9 pr intf \nThat data conta ined alphabetic characters ad pr: intf( "of 8 which were C were lowercase uppe rcase \n" also conta numupper numa ined lpha intf "and pr return printf( intf( intf( "characters, digits, punctuati $d Intd ion cont whitespace" rol characters cha numdi racters n" igit, numI numpunct numspace numcnt ower pri 'and input command of Th ...