This class combines the input capabilities of the istream class with the
output capabilities of the ostream class. It is the base class for three
other classes that also provide input and output capabilities:
iostream_withassign - to assign another stream (such as an fstream
for a file) to an iostream object.
strstream - a stream of characters stored in memory.
fstream - a stream that supports input and output.