hi,

i'm trying to read a file with fopen and fgets but it doesn't seem to work
that well. I have a while-loop that looks like this:
while (!feof(fp))
{
//read and do something
}

It seems like it can't exit the while-loop at the end of the file, so I was
wondering if there are some problems using feof on a pocket pc.

I use eMbedded Visual C++ 4.0.