The information in this article applies to:
SYMPTOMSWhen an application reads characters into an ifstream object opened in text mode, data may be lost and not placed into the buffer. The code does not provide any warning or other indication of this data loss. STATUSMicrosoft has confirmed this to be a problem in the products listed at the beginning of this article. This problem was fixed in Visual C++ 5.0. MORE INFORMATIONThe following code example demonstrates this problem by filling a buffer with the character sequence "01234567890..." and using an ifstream object to copy the data to another buffer. The transferred sequence reads as "013456..." Only the character "2" is missing from the sequence. The remainder of the sequence transfers correctly. Sample Code
Additional query words: kbVC400bug 8.00 8.00c 9.00
Keywords : kbcode kbCompiler kbCPPonly kbVC100 kbVC150 kbVC200 kbVC400 kbVC410 kbVC420 kbVC500fix |
Last Reviewed: July 24, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |