特牛网址导航

C/C++输出字符串中数字个数_c++中如何计算输出结果的个数-CSDN博客

网友收藏
文章浏览阅读3.1k次。C输出#include<stdio.h>#include<string.h>int main(){ char a[100]; unsigned int i,count=0; gets(a); for(i=0;i<strlen(a);i++) { if(a[i]>=48&&a[i]<=57) //if(a[i]>..._c++中如何计算输出结果的个数