home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_12 / 740.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-12  |  584KB  |  2550x3300
Labels: book | crt screen | monitor | reckoner | sky
OCR: 740 Chapter Discovering C++ Some istream Input Functions int get Reads and returns a single character from the istream. istream& 706 chars ch Reads single character from the istream and stores 1t in ch istream& getline cha buf int num, char del im \n Reads characters from the istream until either the delimiter de is found. the limit num-1 characters have been read or end of file is reached The characters are stored in the array buf and are terminated with a null character. If del lim is found it is extracted from the istream but not stored in buf. eams read( char buf int count ;Reads bytes from the is ream until the limit count bytes have been read or until the end of file is reached. The bytes are stored in buf The read() function can be used for reading binary data ist ream& ignore int n ...