Article ID: 240015 - Last Review: September 2, 2005 - Revision: 3.0 The getline template function reads an extra character after encountering the delimiterThis article was previously published under Q240015 SYMPTOMS
The Standard C++ Library template getline function reads an extra character after encountering the delimiter. Please refer to the sample program in the More Information section for details.
RESOLUTION
Modify the getline member function, which can be found in the following system header file string, as follows:
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.
This problem was corrected in Microsoft Visual C++ .NET.
MORE INFORMATION
The following sample program demonstrates the bug:
| Article Translations
|
Back to the top
