io:putback

C++ Reference

putback

Syntax:

    #include <fstream>
    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