File Handling: Overview
Visual C++ supplies a number of ways to work with files, including:
MFC's class CFile encapsulates access to files in a C++ class. The MFC library also supplies derived classes like and for working with text files, in-memory files, OLE streams, and other file-like objects, such as Windows sockets.