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
ofstream
istrstream
ostrstream
Go to the first, previous, next, last section, table of contents.