Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Qt 5.8.0 when use feof to detect the end of a file , the qt app is crumbling
Can you provide any more info? What is the error? Can you provide code sample?
In QFile, you don't need to check with feof.
qt app is running on ubuntu 16.04. this has been sovled: the error code:
while (!feof(m_File)) { m_File = fread(....) ; }
the right code :
do { m_File = fread(....) ; } while (!feof(m_File));
OK, thanks for info.
So it was not connected with Qt at all.