Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>istream::putback</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
istream::putback

Usage

   #include <iostream.hpp>
   istream &istream::putback(char c);

Description

   This function attempts to put the streambuf associated with the istream

   back into the condition it was in before the last character was
   extracted.  The argument character should be the one that was just
   extracted from  the stream, and if it is not, the behavior of the putback
   function is  undefined.

   If putback fails, the error state will be set. The istream prefix
   function is  not called. However if the error state was set when putback
   was called it  will do nothing.





Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson