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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.