Go to the first, previous, next, last section, table of contents.

Classes for Files and Strings

There are two very common special cases of input and output: using files, and using strings in memory.

libio defines four specialized classes for these cases:

ifstream
Methods for reading files.
ofstream
Methods for writing files.
istrstream
Methods for reading strings from memory.
ostrstream
Methods for writing strings in memory.


Go to the first, previous, next, last section, table of contents.