int feof(FILE *stream);. Why do we need an extra function? Can't we just test for -1, like this? while ((c = fgetc(fp)) != EOF) ...
確定! 回上一頁