fgetc Example. #include <stdio.h> main () { FILE *fp; int c; fp = fopen ("data.fil", "r"); while ( (c = fgetc (fp) ) != EOF) putchar (c); fclose (fp); } ...
確定! 回上一頁