如果要輸入一個char 型態的數或字元,不要用scanf(), 改用getchar() ... #include <stdio.h> /* 測試scanf() 及浮點數(test-scanf.c) */ main() ...
確定! 回上一頁