The Microsoft Input/Output Stream Classes (iostream.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
streambuf::sputbackc
streambuf                                   Up Contents Index Back
──The Microsoft iostream Classes────────────────────────────────────────────
 
  int sputbackc( char ch );
 
  Parameter   Description
 
  <ch>        The character to be put back to the streambuf object.
 
  Remarks
 
  Moves the get pointer back one position. The <ch> character must match
  the character just before the get pointer.
 
  Return Value
 
  EOF on failure.
 
  See Also
 
  streambuf::sbumpc, streambuf::pbackfail
 
 
                                     -♦-