2008年8月4日 ... 程式在寫時, 何時要用fgets? 何時要用fread? 主要的差異在哪邊? 以下就用簡單的 範例來說明~ 先建立一個檔案: /tmp/readfile.txt, 內容如下: abcdefg ...
www.google.com.tw