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 / 572.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-29  |  734KB  |  2550x3300
Labels: book | crt screen | monitor | reckoner
OCR: 572 Chapter Input and Output 10.4 String Input and Output in Chapter 5 we discussed the use of the function fge to accept input of a line of text from standard input and store as string In this section, we will see We how will fgets also discuss can be the used use to of read the line C library of text function from file fputs and to store write as string string to file we saw in Chapter 5 the function fgets() takes three parameters The size of key address board the of a To input) buffer buffer have in is the where fgets previous second the read input programs parameter. input text will because from The be we third file, were we is parameter the simply reading first has need input been parameter; to from replace stdin the the (standard stdin with any FILE variable that references the file ...