27.01.2014, 12:47
Do this:
The code inside the while will only be executed if there was something read from the file
Код:
//fopen etc.. while(fread(File, string)) { } //fclose etc..