<ios>
The <ios>
header declares the classes, types, and manipulator
functions that form the foundation of the C++ I/O library (which is
often called I/O streams). The class ios_base
is the base class for all I/O stream
classes. The class template basic_ios
derives from ios_base
and declares
the behavior that is common to all I/O streams (e.g., establishing a
stream buffer and defining the I/O state).
Refer to Chapter 9 for more information about input and output, including the use of manipulators, formatting flags, streams, and stream buffers.
The <ios>
header #include
s <iosfwd>
.
Get C++ In a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.