Share via


istream::putback

istream& putback( char ch );

Parameter

ch

The character to put back; must be the character previously extracted.

Remarks

Puts a character back into the input stream. The putback function may fail and set the error state. If ch does not match the character that was previously extracted, the result is undefined.

istream OverviewInput Stream Classes