This topic is now archived and is closed to further replies.

The C modest god

ifstream seekg doesnt work?

Recommended Posts

Instead of doing fseekg I have closed the file and opened it again with"a.fl", ios::binary);
I opened it with the same variable I opend it before, and for some kind of reasn the eof flag is still set although the file is clearly not empty.
Any ideas why this happens?

Share this post

Link to post
Share on other sites