A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://timsong-cpp.github.io/cppwp/n4140/narrow.stream.objects below:

[narrow.stream.objects]

27.4.2 Narrow stream objects [narrow.stream.objects]

istream cin;

The object cin controls input from a stream buffer associated with the object stdin, declared in <cstdio>.

After the object cin is initialized, cin.tie() returns &cout. Its state is otherwise the same as required for basic_ios<char>::init ([basic.ios.cons]).

ostream cout;

The object cout controls output to a stream buffer associated with the object stdout, declared in <cstdio> ([c.files]).

ostream cerr;

The object cerr controls output to a stream buffer associated with the object stderr, declared in <cstdio> ([c.files]).

After the object cerr is initialized, cerr.flags() & unitbuf is nonzero and cerr.tie() returns &cout. Its state is otherwise the same as required for basic_ios<char>::init ([basic.ios.cons]).

ostream clog;

The object clog controls output to a stream buffer associated with the object stderr, declared in <cstdio> ([c.files]).


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4