函數名:isdigit
函數所需頭檔案:#include<cstdio>
函數格式:isdigit(字元)
函數作用:判斷括号内是否為1~9的數字。
例:isdigit(4) 就是true
isdigit(a) 就是false
轉載于:https://www.cnblogs.com/lipeiyi520/p/8436528.html
函數名:isdigit
函數所需頭檔案:#include<cstdio>
函數格式:isdigit(字元)
函數作用:判斷括号内是否為1~9的數字。
例:isdigit(4) 就是true
isdigit(a) 就是false
轉載于:https://www.cnblogs.com/lipeiyi520/p/8436528.html