public static bool EOF (int FileNumber); ... 這個範例會使用函式 EOF 來偵測檔案結尾。 ... 使用 EOF 可避免嘗試取得超過檔案結尾的輸入所產生的錯誤。
確定! 回上一頁