C++ Library - <istream>
Description
The Istream used for header providing the standard input and combined input/output stream classes.
Class templates
The class templates of istream should be as follows −
| Sr.No. | Stream | Definition |
|---|---|---|
| 1 | basic_istream | It is used in an Input stream |
| 2 | basic_iostream | It is used in an Input/output stream |
Classes
The classes of istram should be as follows.
| Sr.No. | Classes | Definition |
|---|---|---|
| 1 | istream | It is used in an Input stream |
| 2 | iostream | It is used in an Input/output stream |
| 3 | wistream | It is used in an Input stream (wide) |
| 4 | wiostream | It is used in an Input/output stream (wide) |
Input manipulators (functions)
| Sr.No. | Functions | Definition |
|---|---|---|
| 1 | ws | It is used to extract whitespaces |
Advertisements