long FileSize(FILE* f)
{
if(f)
{
long size;
long initpos = ftell(f);
fseek(f,0,SEEK_END);
size = ftell(f); //Get End Position Which
fseek(f,initpos,SEEK_SET); //Go Back To Initial Position
return size;
}
return 0;
}
Only 183 characters in text file but reports 197. Reason for this?