UC3M

Telematic/Audiovisual Syst./Communication Syst. Engineering

Systems Architecture

September 2017 - January 2018

9.8.11.  Using files in C

Work Plan

Read the document offered in the Resources section about using files in C.

Make sure you are capable of:

  • Defining the input/output model of C.

  • Explaining what the file position indicator is and which function must be used to move it to a specific point in the file.

  • Knowing the functions to open and close files.

  • Knowing the functions to read data from a file and to write data to a file, with functions fread and fwrite.

  • Knowing which function returns the position that file position indicator is pointing at.