2.4 KiB
[narrow.stream.objects]
31 Input/output library [input.output]
31.4 Standard iostream objects [iostream.objects]
31.4.3 Narrow stream objects [narrow.stream.objects]
istream cin;
The object cin controls input from a stream buffer associated with the object stdin, declared in .
After the objectcin is initialized,cin.tie() returns&cout.
Its state is otherwise the same as required forbasic_ios::init.
ostream cout;
The object cout controls output to a stream buffer associated with the object stdout, declared in .
ostream cerr;
The object cerr controls output to a stream buffer associated with the object stderr, declared in .
After the objectcerr is initialized,cerr.flags() & unitbuf is nonzero and cerr.tie() returns &cout.
Its state is otherwise the same as required forbasic_ios::init.
ostream clog;
The object clog controls output to a stream buffer associated with the object stderr, declared in .