CHAPTER 87 --- The File Class
Often a program operates on
a disk file as a whole---renames it,
checks if it exists, deletes it,
or alters its properties.
These operations are performed by
using the methods of
the class File.
The class is also used for
working with directories.
Chapter Topics:
- Class File.
- Constructor and Methods.
- Path Names.
- Testing if a file exists.
- Using File objects with Stream Constructors.
Using the File class will greatly improve
programs that read or write disk files.
|