The information in this article applies to:
SUMMARYThe online help for all versions of Microsoft Visual C++ contains the following, incorrect statement in the strstream class constructor description:The second constructor makes an strstream object out of the first nLength characters of the psc buffer.The reference to the "psc" buffer should be to the "pch" buffer, which is listed as the first parameter to the second strstream constructor (shown below).
The incorrect statement also appears in the Microsoft C/C++ "Class
Libraries Reference" manual for version 7.0 and in the the Microsoft Visual
C++ "Reference Volume III" manual for Visual C++ version 1.0.
MORE INFORMATIONThe strstream object is defined with two constructors. The first constructor creates a strstream object that uses an internal, dynamic buffer which is initially empty. This is the default. The second constructor accepts three parameters: pch, nLength, and nMode. Based on the stream creation mode, nMode, it creates a strstream object from the first "nLength" characters of the "pch" buffer.For more information on the strstream object, consult the "iostream Reference" in the Visual C++ version 4.0 Books Online. Additional query words: constructer
Keywords : kbdocerr kbLangC kbLangCPP kbVC100 kbVC150 kbVC151 kbVC152 kbVC200 kbVC210 kbVC400 kbVC410 kbVC500 kbVC600 kbOLDocs |
Last Reviewed: July 21, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |