Namespaces
Variants
Views
Actions

Standard library header <iostream>

From cppreference.com
< cpp‎ | header
Revision as of 02:51, 14 December 2012 by Bazzy (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This header is part of the Input/output library.

Includes

<ios>
<streambuf>
<istream>
<ostream>

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


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;
 
}