putback

Syntax:

    istream& istream::putback(char ch);

The putback() function is used with input streams, and returns the previously read character ch to the input stream.

Related Topics: peek, (Standard C I/O) ungetc