fgetc 成功時返回讀到一個位元組,本來應該是 unsigned char 型的,但由於函數原型中 ... 如果檔案中的一行太長, fgets 從檔案中讀了 size-1 個字元還沒有讀到 '\n' ...
確定! 回上一頁