字符变量ch是否是数字('0'

来源:学生学帮网 编辑:学帮网 时间:2024/06/17 01:33:13

字符变量ch是否是数字('0'

来个函数吧……
int panduan(char ch) //如果是数字返回1,否则返回0
{
int w;
if('0'