14. Streams (File I/O)

Object-Oriented Programming Using C++.

Streams (File I/O)

Study Guide

Introduction To Files and I/O Streams

File I/O Prerequisites

Opening, Closing, and Validating Files

Processing Files

mycopy.cpp: A File Processing Example

Character I/O

HTMLFix.cpp: Character I/O Example

wc2.cpp: Character I/O Example

Line I/O

The Rolodex Problem

s-rolodex.cpp: string Class I/O Example

c-rolodex.cpp: C-String I/O Example

Block I/O

b-rolodex.cpp Block I/O Example

Random and Direct Access

rolodex.cpp (1): Direct Access Example

Indexed Sequential Access Method (ISAM)

rolodex.cpp (2): ISAM Example

Bulletproof Code (2): String Streams

Bulletproof Code (3): Intro To Regular Expressions

Extended Regular Expression Examples

Comma-Separated Values