Defined in header
int ungetc( int ch, FILE *stream );
Puts the character
ch back to the given file stream.
|ch||-||character to be put back|
|stream||-||file stream to put the character back to|
ch is returned.
On failure EOF is returned and the given stream remains unchanged.
| gets a character from a file stream |
C++ documentation for ungetc