Go to the first, previous, next, last section, table of contents.
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.
- Files: Reading and writing files.
- Strings: Reading and writing strings in memory.
Go to the first, previous, next, last section, table of contents.