•A file is a named area in secondary storage that holds a collection of
information (on disk, for example)
•Using files requires us to
–Request the preprocessor to include the header file fstream
–Use declaration statements to declare the file streams we are going
to use
–Prepare each file for reading or writing by using a function named
open
–Specify the name of the file stream in each input or output statement