putback [C++ Reference]
Keywords: io,putback
Date: 2009-03-09T12:20:32-0700

[[putback]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

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

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •