Chapter 6: I/O STREAMS AS AN INTRODUCTION TO OBJECTS AND CLASSES
6.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
6.2 Tools for Stream I/O
Formating Output with Stream Functions
Manipulators
Streams as Arguments to Functions
An Example
6.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
6.4 Miscellaneous
How to read text input?
The member function clear