/* ************************************************************************
* Filename: main.c
* Description:
* Version: 1.0
* Created: 2011年07月26日 12时27分27秒
* Revision: none
* Compiler: gcc
* Author: YOUR NAME (),
* Company:
* ***********************************************************************
*/

#include
<stdio.h>
#include
<string.h>
#include
<unistd.h>
#include
<ctype.h>

int main()
{
char str[] = "123adf545a65d45kk*(&(*";

printf(
"this str:%s\n",str);
int i;
for(i = 0;str[i] != 0;i++)
{
if(isdigit(str[i]))
{
printf(
"%c is the digit number!\n",str[i]);
}
}

return 0;
}

  

相关文章:

  • 2021-12-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-26
  • 2021-12-13
  • 2022-12-23
猜你喜欢
  • 2021-07-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
相关资源
相似解决方案