Hello Gerrit,
I've faced the same problem after installation gcc 3.2.
How I solved it in my program:
ifstream cur_stream(file_name1, ios::in);
..
cur_stream.close();
cur_stream.clear();
cur_stream.open(file_name2, ios::in);
Hope, it'll help you.
Bes
Hello,
Apparently thats not a real bug it is some kind of undocumented feature of
the libstdc++ library,
for more info on reopening a ifstream see:
http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#4_4
Regards,
Gerrit.
Marble Consulting --
Gerrit
Hello,
I recently encountered the problem with the gcc 3.2 compiler of cygwin
using ifstream. Basically it is the same problem as mentioned in
http://gcc.gnu.org/ml/gcc-help/2002-06/msg00079.html although this is about
gnu cc 3.0. I thought that this was already fixed. The problem is that when
3 matches
Mail list logo