O'Reilly logo

C Primer Plus, Sixth Edition by Stephen Prata

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required