File I/O Basics
Terminology:
- when your program takes input from a file it is said to be reading from the file
- when your program sends output to a file it is said to be writing to the file
-
For the time being we’ll only consider accessing files from beginning to end (i.e. no backing up or repositioning)