This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
rewind a file
- From: Philippe Despres <philippe dot despres at umontreal dot ca>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 01 Oct 2002 12:52:09 -0400
- Subject: rewind a file
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