[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

Reading one character

Use these methods to read a single character from the input stream:

Method: int istream::get ()
Read a single character (or EOF) from the input stream, returning it (coerced to an unsigned char) as the result.

Method: istream& istream::get (char& c)
Read a single character from the input stream, into &c.

Method: int istream::peek ()
Return the next available input character, but without changing the current input position.



This document was generated by system on December, 2 2004 using texi2html