while(gets(name)!=null) 可檢查檔案是否結尾. while((ch=getchar())!=eof). gets() 讀取換行符並將其丟棄, fgets() 把換行符存字串裡,但每次顯示字 ...
確定! 回上一頁