首先在driver.c 中加入讀取--input,在這裡使用strtol 而非atoi,原因是atoi 對於無法處理的字串會回傳0,但無法區別0 是因為輸入錯誤或是 ... 實作Fibonacci 數列.
確定! 回上一頁