A RetroSearch Logo

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

Search Query:

Showing content from https://www.tutorialspoint.com/cpp_standard_library/iostream.htm below:

C++ iostream

C++ Library - <iostream> Description

It is used in standard Input / Output Streams Library.

Declaration

Following is the declaration for iosstream function.

C++98
Including this header may automatically include other headers, such as <ios>,
   <streambuf>, <istream>, <ostream> and/or <iosfwd>.
C++11
Including <iostream> automatically includes also <ios>, <streambuf>, <istream>,
   <ostream> and <iosfwd>.
Objects

The objects of iosstream should be like this −

Narrow characters (char) Sr.No. Characters Definition 1 cin Standard input stream 2 cout Standard output stream 3 cerr Standard output stream for errors 4 clog Standard output stream for logging Wide characters (wchar_t) Sr.No. Characters Definition 1 wcin Standard input stream (wide) 2 wcout SStandard output stream (wide) 3 wcerr Standard output stream for errors (wide-oriented) 4 wclog Standard output stream for logging (wide)

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