Thanks for spotting the mistake. I replaced "donefile" with "tfile", and still got the same output.
I've also added a
if (fin.rdstate() & ifstream::failbit) != 0)
printf("failbit...
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: hjazz Search: Search took 0.00 seconds.
Results 1 to 5 of 5
|
Click Here to Expand Forum to Full Width |