Contents|Index|Previous|Next

Stream Classes

In Operators and Default Streams, there is a reference to the classes, ostream and istream, which are for, respectively, output and input. These classes share certain properties, captured in their base class, ios.

See also the following documentation for more discussion.

- Shared properties: class ios

- Checking the state of a stream
- Choices in formatting
- Changing stream properties using manipulators
- Extended data fields
- Synchronizing related streams
- Reaching the underlying streambuf

- Managing output streams: class ostream

- Writing on an ostream
- Repositioning an ostream
- Miscellaneous ostream utilities

- Managing input streams: class istream

- Reading one character
- Reading strings
- Repositioning an istream
- Miscellaneous istream utilities

- Input and output together: class iostream