The Wayback Machine - https://web.archive.org/web/20110902033255/http://www.codeguru.com:80/cpp/cpp/cpp_mfc/files/

    File I/O

    Reduce Compilation Dependencies in Large Scale C++ Projects: Factory Pattern

    Changes are inevitable in large projects. This article introduces some useful techniques to minimize compilation time during development.

    Long File Name (LFN) Entries in the FAT Root Directory of Floppy Disks

    Learn about the structure for LFN entries in the root directory and how to read LFN from the root directory of the FAT file system.

    [Updated] FAT Root Directory Structure on Floppy Disk and File Information

    Learn the FAT root directory structure on a floppy and how to retrieve information about the file (not file content) from it by using VC++.

    Extract Floppy Disk Geometry from the Boot Sector

    Learn how to read a floppy disk's geometry witout using DeviceIoControl on Windows XP.

    How to Read a MS Outlook (.msg) File Using ATL and MFC

    Learn about the structure of the MS Outlook .msg file format and how a VC++ application can extract data from this file.

    [Updated] A UTF-16 Class for Reading and Writing Unicode Files

    Learn to use Unicode to perform file-based operations.

    [Updated] The K.I.S.S. Approach to I/O Completion Ports

    I/O completion ports are the holy grail of performance. This article provides an extremely lightweight and open framework for easily implementing IOCP's in your application(s).

    Managed Extensions: Parsing CSV Files with Regular Expressions

    Tom Archer illustrates how to parse comma-delimited text—when the data contains quotes, commas, and blanks—and return the data in a managed array.

    Manage the Physical Dependencies of a Project to Reduce Compilation Time

    We make our projects in different files, not in a single file. We will do this because we want to reduce the compilation time during the development as well as reuse the code written in different files.

    Non volatile variables and configuration settings for MFC applications

    This article describes two classes for storing and retrieving string, numeric and BOOL variables to/from files in ASCII text format - much like INI files.

    Circular File

    Generic C++ circular file implementation