Export (0) Print
Expand All

istream::read

Visual Studio 6.0

istream& read( char* pch, int nCount );

istream& read( unsigned char* puch, int nCount );

istream& read( signed char* psch, int nCount );

Parameters

pch, puch, psch

A pointer to a character array.

nCount

The maximum number of characters to read.

Remarks

Extracts bytes from the stream until the limit nCount is reached or until the end of file is reached. The read function is useful for binary stream input.

istream OverviewInput Stream Classes

See Also   istream::get, istream::getline, istream::gcount, istream::ignore

Show:
© 2014 Microsoft