#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.