Hi everyone. I was wondering what is the best way to check if a text file is empty?
When I read from a text file:
file.Open(path, CFile::modeRead);
And then try to access it:
file.ReadString(line)
I get an error..
I have tried if 'file.end' but file.end returns true every time so I think I got the wrong method...