Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

<istream>

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at <istream>.

Defines the template class basic_istream, which mediates extractions for the iostreams, and the template class basic_iostream, which mediates both insertions and extractions. The header also defines a related manipulator. This header file is typically included for you by another iostreams header; you rarely have to include it directly.

#include <istream>  
  

Typedefs

iostreamA type basic_iostream specialized on char.
istreamA type basic_istream specialized on char.
wiostreamA type basic_iostream specialized on wchar.
wistreamA type basic_istream specialized on wchar.

Manipulators

wsSkips white space in the stream.
swapExchanges two stream objects.

Operators

operator>>Extracts characters and strings from the stream.

Classes

basic_iostreamA stream class that can do both input and output.
basic_istreamThe template class describes an object that controls extraction of elements and encoded objects from a stream buffer with elements of type Elem, also known as char_type, whose character traits are determined by the class Tr, also known as traits_type.

Thread Safety in the C++ Standard Library
iostream Programming
iostreams Conventions

Show:
© 2017 Microsoft