seekg and eof
Martin Trautmann
martintrautmann@gmx.de
Tue Dec 21 09:28:00 GMT 1999
Hello,
I don't know whether it is a bug or simply a mistake of me. When I have
an ifstream and read it until the end the eof-flag is set. When I want
to change the fileposition with seekg() this flag isn't reset. That
means I get the right position with tellg() but I cannot read any more
bytes with get(char).
Are there any other possibilities to change the fileposition of an
ifstream?
I am using egcs-2.91.66!
Thank you for listening
Martin
--
\\\|///
\\ - - //
( @ @ )
-------------------------oooO-(_)-Oooo--------------------------
Martin Trautmann Phone: +49 7195 66284
Koenigsberger Ring 33 Fax: +49 7195 941707
D-71364 Winnenden,Germany eMail: martintrautmann@gmx.de
-----------------------------------Oooo--------------------------
oooO ( )
( ) ) /
\ ( (_/
\_)
More information about the Gcc-bugs
mailing list