Book 6

Reading and Writing Files

Contents at a Glance

  1. Chapter 1: Filing Information with the Streams Library
    1. Seeing a Need for Streams
    2. Programming with the Streams Library
    3. Handling Errors When Opening a File
    4. Flagging the ios Flags
  2. Chapter 2: Writing with Output Streams
    1. Inserting with the << Operator
    2. Formatting Your Output
  3. Chapter 3: Reading with Input Streams
    1. Extracting with Operators
    2. Encountering the End of File
    3. Reading Various Types
  4. Chapter 4: Building Directories and Contents
    1. Manipulating Directories
    2. Getting the Contents of a Directory
    3. Copying Files
    4. Moving and Renaming Files and Directories
  5. Chapter 5: Streaming Your Own Classes
    1. Streaming a Class for Text Formatting
    2. Manipulating a Stream