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.
strstreambuf::str
strstreambuf                                Up Contents Index Back
──The Microsoft iostream Classes────────────────────────────────────────────
 
  char* str();
 
  Remarks
 
  Returns a pointer to the object's internal character array. If the
  strstreambuf object was constructed with a user-supplied buffer, then
  that buffer address is returned. If the object has a dynamic array, then
  str freezes the array. You must not send characters to a frozen
  strstreambuf object, and you are responsible for deleting the array. If
  a dynamic array is empty, then str returns NULL.
 
  You can use the freeze function with a 0 parameter to unfreeze a frozen
  strstreambuf object.
 
  See Also
 
  strstreambuf::freeze
 
 
                                     -♦-