摘要:
[cpp]view plaincopy#include"stdio.h"#defineM1000//宏定义字节最大长度intcharacter=0,num=0,other=0;intf(char*x){inti=0;for(i=0;*(x+i)!='\0';i++){if((*(x+i)>='a'&&*(x+i)='A'&&*(x+i)='0'&&*(x+i)<='9')//数字个数num++;elseother++;//其它字符个数} 阅读全文
posted @ 2014-01-07 14:35
haichun
阅读(716)
评论(0)
推荐(0)
浙公网安备 33010602011771号