The information in this article applies to:
SYMPTOMSThe istream::seekg() function does not reset the EOF (end of file) state when the stream pointer is already at EOF. RESOLUTIONTo work around this problem, call ios::clear() for the stream before calling istream::seekg(). STATUSThis behavior is by design. MORE INFORMATIONYou don't need to call clear(), if the stream pointer is not already at EOF. Sample Code
Additional query words:
Keywords : kbCompiler kbCPPonly kbVC kbVC400 kbVC410 kbVC420 kbVC500 kbVC600 |
Last Reviewed: September 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |