c =fgetc(fp); if(feof(fp) ) break; printf("%c",c);. } while(1); fclose(fp); return(0);. } The fgets() Function. • To read a line of characters from a file, ...
確定! 回上一頁