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.
strstream::str
strstream                                   Up Contents Index Back
──The Microsoft iostream Classes────────────────────────────────────────────
 
  char* str();
 
  Remarks
 
  Returns a pointer to the internal character array. If the stream was
  built with the void-argument constructor, then str freezes the array.
  You must not send characters to a frozen stream, and you are responsible
  for deleting the array. You can unfreeze the the stream by calling
  rdbuf->freeze( 0 ).
 
  If the stream was built with the constructor that specified the buffer,
  then the pointer contains the same address as the array used to
  construct the ostrstream object.
 
  See Also
 
  strstreambuf::freeze, strstream::rdbuf
 
 
                                     -♦-