G
Guest
I need to read a text file, "rewind" it to the beginning and read it again.
I've tried using fstream's seekg(0, ios_base::beg) method with no luck. For
some reason it's still thinking it's at eof, even after the seekg is
executed. I've also tried closing the fstream and reopening it. Nothing is
working. Anyone have any ideas?
How do you read a file twice in VC++?
I've tried using fstream's seekg(0, ios_base::beg) method with no luck. For
some reason it's still thinking it's at eof, even after the seekg is
executed. I've also tried closing the fstream and reopening it. Nothing is
working. Anyone have any ideas?
How do you read a file twice in VC++?