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.
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.