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.
istream::peek
istream                                     Up Contents Index Back
──The Microsoft iostream Classes────────────────────────────────────────────
 
  int peek() const;
 
  Remarks
 
  Returns the next character without extracting it from the stream.
  Returns EOF if the stream is at end of file or if the ipfx function
  indicates an error.
 
 
                                     -♦-