As described above, several functions such as fgetc return EOF on end-of-file or when an error occurs; thus the loop: while((c = fgetc(fp)) != EOF) .
確定! 回上一頁