Chapter 5: I/O STREAMS AS AN INTRODUCTION TO OBJECTS AND CLASSES
5.1 Streams and Basic File I/O
Why Use File for I/O?
Streams and File I/O
File I/O Using the
ifstream
and
ofstream
classes
File Names as Input
Techniques for File I/O
5.2 Tools for Stream I/O
Formating Output with Stream Functions
Manipulators
Streams as Arguments to Functions
An Example
5.3
Character I/O
The Member Functions
get
and
put
The
eof
Member Function
Predefined Character Functions
Another Example
Problem with Mixing cin and cin.get