printf
return 0;
char
fscanf(fp,"%d",&num); // here goes the fscanf() command ?Do I need to use fget()? fseek(fp, 0, SEEK_END); if (ftell(fp) == 0) { printf("file is emty"); // empty file } fseek(fp, 0, SEEK_SET);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)