public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* rewind a file
@ 2002-10-01  9:48 Philippe Despres
  2002-10-01 10:58 ` Sebastian Huber
  0 siblings, 1 reply; 3+ messages in thread
From: Philippe Despres @ 2002-10-01  9:48 UTC (permalink / raw)
  To: gcc-help

Hello,

I used to rewind a ifstream file with

file.seekg(0,ios::beg);
file.clear();

to read it a second time. It was under gcc 2.9x. Now I upgrade to 
mandrake 9.0, which ships gcc 3.2 and it is not working anymore... any hint?

Thanks

Philippe

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-01 18:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-01  9:48 rewind a file Philippe Despres
2002-10-01 10:58 ` Sebastian Huber
2002-10-01 11:04   ` Joshua Nye

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).