C++ <iostream> header


The <iostream> header file declares a set of functions for standard Input/Output. It also defines I/O stream objects such as cin, cout, clog etc.

Search <iostream> Functions

Method Description
C++ cerr writes to error stream
C++ cin accepts input from user
C++ clog used for streaming logs
C++ cout displays output to output device i.e monitor
C++ wcerr prints to error stream as wide character type
C++ wcin accepts input in wide character type
C++ wclog writes to log stream with wide character
C++ wcout displays wide characters (Unicode) to screen