以下程式用fgets() 取得逐行文字,然後列印到螢幕上 #include <stdio.h> #include <stdlib.h> int main(void) { FILE *fPtr; char s[50]; fPtr = fopen("newname2.txt" ...
確定! 回上一頁