Overview: the Stream Class Library // Declaration of global data objects extern istream cin; extern ostream cout, cerr; // Selected members of class "ios" int eof() const; int fail() const; int bad() const; int good() const; void clear(); void setstate( iostate state ); // Selected members of class "istream" istream& get( char& c ); istream& get( signed char& c ); istream& get( unsigned char& c ); istream& get( char* s, int len, char delim = '\n' ); istream& get( signed char* s, int len, char delim = '\n' ); istream& get( unsigned char* s, int len, char delim = '\n' ); istream& getline( char* s, int len, char delim = '\n' ); istream& getline( signed char* s, int len, char delim = '\n' ); istream& getline( unsigned char* s, int len, char delim = '\n' ); istream& operator>>( char& c ); istream& operator>>( signed char& c ); istream& operator>>( unsigned char& c ); istream& operator>>( char* s ); istream& operator>>( signed char* s ); istream& operator>>( unsigned char* s ); istream& operator>>( short& n ); istream& operator>>( unsigned short& n ); istream& operator>>( int& n ); istream& operator>>( unsigned int& n ); istream& operator>>( long& n ); istream& operator>>( unsigned long& n ); istream& operator>>( float& n ); istream& operator>>( double& n ); istream& operator>>( long double& n ); istream& operator>>( bool& b ); istream& ignore( int n = 1, int delim = (-1) ); istream& putback( char ch ); istream& unget(); int peek(); // Selected members of class "ostream" ostream& put( char c ); ostream& operator<<( char c ); ostream& operator<<( signed char c ); ostream& operator<<( unsigned char c ); ostream& operator<<( const char* s ); ostream& operator<<( const signed char* s ); ostream& operator<<( const unsigned char* s ); ostream& operator<<( short n ); ostream& operator<<( unsigned short n ); ostream& operator<<( int n ); ostream& operator<<( unsigned int n ); ostream& operator<<( long n ); ostream& operator<<( unsigned long n ); ostream& operator<<( float n ); ostream& operator<<( double n ); ostream& operator<<( long double n ); ostream& operator<<( bool b ); ostream& operator<<( const void *p ); ostream& flush(); // Selected members of class "fstream" fstream(); fstream( const char *name, int mode, int prot = 0664 ); void open( const char *name, int mode, int prot = 0664 ); void close(); int is_open(); // Selected members of class "ifstream" ifstream(); ifstream( const char *name, int mode = ios::in, int prot = 0664 ); void open( const char *name, int mode = ios::in, int prot = 0664 ); // Selected members of class "ofstream" ofstream(); ofstream( const char *name, int mode = ios::out, int prot = 0664 ); void open( const char *name, int mode = ios::out, int prot = 0664 );