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 / 611.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-19  |  817KB  |  2550x3300
Labels: binder | book | crt screen | poster | reckoner
OCR: Using Mathematical Functions 611 Note 2:The function perror is called in case an error occurs while opening the file The function will display the string fopen error" followed by the reason for the These reasons are implementation depend lent They could be different on different computers Note 3: When the previous while loop terminated, the return value from fread was either 0 or negative. This call to fer ror determines whether or not an ETTTT occurred while reading from the file The func- tion ferror() returns nonzero value when senses ar error and otherwise. Note In the case that an 10111 occurred with the file associated with fp a call toperror will display the name of the file and an 1O113 message Note 5. The function clearerr() called to explicitly clear the error condi tion associat ...