home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_10 / 562.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-29  |  680KB  |  2550x3300
Labels: book | crt screen | monitor | poster | reckoner
OCR: 562 Chapter Input and Output Other code to process the file mi ght be placed here fcl lose( fp I= EOF Note printf "File cou ldn't be closed n" ); return handling now a This some program has has essentially has been been the added same included Since and the functionality fp program was as declared attempts fopenl c to The open calls however, and tc close file, the file stdio.h fopen () and fcl lose() are now embedded statements The return value from each function 15 checked for indication of error Note 1: In the expression for this statement a call to fopen is made to open the file inf fo" for reading r) The value returned by fopen() that tested case If an "that error value IS message NULL, ,C an issued and the occurred program while terminates opening the file. 11 Note 2. The program will ...