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
2 matches
Mail list logo