Chapter 5 File I/O

5.1 About Files

A file is a named, ordered collection of information, such as a program, a set of data used by a program, or a user-created document. Files are stored on storage devices, such as disks or tapes, and can be organized into groups called directories. The Win32 file functions enable applications to create, open, modify, and delete files and directories. They also enable applications to obtain system information, such as what disk drives are present.