你每次#include <stdio.h> 就相當於在你的程式一開始就有一行. const int EOF = -1;. 不要搞錯了,輸入的最後並沒有EOF 這一行。EOF 是scanf 這個函式的回傳值。
確定! 回上一頁