Reference
C Library
IOstream Library
Strings library
STL Containers
STL Algorithms
Miscellaneous
IOstream Library
manipulators
classes:
filebuf
fstream
ifstream
ios
iostream
ios_base
istream
istringstream
ofstream
ostream
ostringstream
streambuf
stringbuf
stringstream
objects:
cerr
cin
clog
cout
types:
fpos
streamoff
streampos
streamsize
iostream
iostream::iostream
iostream::~iostream


iostream

class
<istream>

Input/Output Stream

iostream


(This page describes the iostream class, for a description of the C++ Input/Output Library see iostream library).

iostream objects inherit all members from both istream and ostream, thus being able to perform both input and output operations. The class is defined as:
1
2
3
4
5
class iostream : public istream, public ostream {
public:
  explicit iostream (streambuf * sb);
  virtual ~iostream ();
}


The class relies on a single streambuf object for both the input and output operations.

Member functions


Members inherited from istream


Members inherited from ostream


Member functions inherited from ios


Member functions inherited from ios_base