Created: 01/14/99; revised: 08/13/99, 01/20/00, 07/13/02, 05/21/03, 03/19/06, 08/31/08
Files are extremely useful, since often the data for a program comes from a file and often the results are stored in a file. You already know about files since you have been creating and using files in following these notes (and probably in your other work, as well). This chapter discusses how to send the output of a program to a file.
The next chapter discusses how to read data from a file. For a full discussion of file I/O you will have to wait until much later in these notes.
What is a file? (Try to think of a one sentence definition.)