Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

reading from a file

Status
Not open for further replies.

jeffrod

Programmer
Dec 3, 2001
6
US
im using vc++ 6.0 on windows98.
im getting this problem when im reading from a file using ifstream. when reading from some files, eof() turns to one before the end of the file is actually reached. the characters i need to read are all 256 of the ascii values, so at first i thought that maybe one of the characters was an "end of file" character that was at the end of all files. i havent been able to confirm that though because i dont know much about how that stuff works. or maybe the error is something else.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top