Share via


istream::peek

int peek();

Return Value

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.

istream OverviewInput Stream Classes