13. File Input/Output

You will learn about the following in this chapter:

Image Functions:

fopen(), getc(), putc(), exit(), fclose()

fprintf(), fscanf(), fgets(), fputs()

rewind(), fseek(), ftell(), fflush()

fgetpos(), fsetpos(), feof(), ferror()

ungetc(), setvbuf(), fread(), fwrite()

Image How to process files using C’s standard I/O family of functions

Image Text modes and binary modes, text and binary formats, and buffered and nonbuffered I/O

Using functions that ...

Get C Primer Plus, Sixth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.