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::read
istream                                     Up Contents Index Back
──The Microsoft iostream Classes────────────────────────────────────────────
 
  istream& read( char* pch, int nCount );
  istream& read( unsigned char* puch, int nCount );
  istream& read( signed char* psch, int nCount );
 
  Parameter         Description
 
  <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.
 
  See Also
 
  istream::get, istream::getline, istream::gcount,
  istream::ignore
 
 
                                     -♦-