Firstly im using VC++ 6
I am trying to read in data from a file using fgetc in a loop like...
but it won't let me read the whole file. If i am correct feof = FFFFFF? The file im trying to read has FFFFFF in it a whole bunch of times and i think that is what is causing the problem.
If i just keep reading regardles of eof then it just keeps reading in F's. I did try to figure out where it finished reading and then use fseek to skip past the FFFFFF and keep reading but screwed up somewhere. It did read some more then stop at an FFFFFF but i got the code to jump to the next bit wrong obviously.
Anyway just wondering if this is my problem and if so has anyone delt with it before.
Cheers for any help.