Name
cin variable — Normal input stream
Synopsis
extern istream cin
The cin
object is a
standard input stream associated with the C stdin
file. It is used for normal program
input. It is tied to cout
(see
the tie
member function of
basic_ios
in <ios>
).
See Also
wcin variable,
basic_ios
in <ios>
, istream
in <istream>
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.