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.
istrstream::istrstream
istrstream                                  Up Contents Index Back
──The Microsoft iostream Classes────────────────────────────────────────────
 
  istrstream( char* psz );
  istrstream( char* pch, int nLength );
 
  Parameter   Description
 
  <psz>       A null-terminated character array (string).
 
  <pch>       A character array that is not necessarily null terminated.
 
  <nLength>   The size (in characters) of <pch>. If 0, then <pch> is
              assumed to point to a null-terminated array; if less than 0,
              then the array is assumed to have unlimited length.
 
  Remarks
 
  The first constructor uses the specified <psz> buffer to make an
  istrstream object with length corresponding to the string length.
 
  The second constructor makes an istrstream object out of the first
  <nLength> characters of the <pch> buffer.
 
  Both constructors automatically construct a strstreambuf object that
  manages the specified character buffer.
 
 
                                     -♦-