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 / 564.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-29  |  768KB  |  2550x3300
Labels: book | crt screen | poster | reckoner
OCR: 564 Chapter 10 Input and Output 10.3 Character Input and Qutput The utility getchar is used to read single character from standard input; the get utility tchar() putchar() and put is tchar used to are write specialized single versions character of to other standard utilities. output. The utility Both getchar) is defined in the file stdio.h. The utility a generalized version ofgetchar (} takes parameter of type FILE Before using getc call to fopen should be made to open a mation file used for as the about reading: parameter file the that to return has get value been is opened typical pointer for call to to reading: FILE getc() this structure return value containing would infor- be getc where fp is the parameter of type FILE The value returned Kq getc() is the the next input byte in file the ...