Standard library header <iostream> - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# Standard library header <iostream>

From cppreference.com
< cpp‎ | header

This header is part of the Input/output library.

### Includes
`<ios>` | (since C++11)
`<streambuf>` | (since C++11)
`<istream>` | (since C++11)
`<ostream>` | (since C++11)
### Objects
std::cin | standard input
std::cout | standard output
std::cerr | standard error
std::clog | standard log
std::wcin | standard input
std::wcout | standard output
std::wcerr | standard error
std::wclog | standard log

### [edit] Synopsis

    #include <ios>
    #include <streambuf>
    #include <istream>
    #include <ostream>

    namespace std {

        extern istream cin;
        extern ostream cout;
        extern ostream cerr;
        extern ostream clog;

        extern  wistream wcin;
        extern  wostream wcout;
        extern  wostream wcerr;
        extern  wostream wclog;

    }

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/header/iostream&oldid=72149"