std::cin
std::cin, std::wcin
Defined in header <iostream> | ||
---|---|---|
extern std::istream cin; | (1) | |
extern std::wistream wcin; | (2) |
The global objects std::cin
and std::wcin
control input from a stream buffer of implementation-defined type (derived from std::streambuf
), associated with the standard C input stream stdin
.
These objects are guaranteed