C++/C语言函数:isalpha()函数

语法:
  #include <ctype.h> int isalpha( int ch );
  功能:如果参数是字母字符,函数返回非零值,否则返回零值。
  char c; scanf( "%c", &c ); if( isalpha(c) ) printf( "You entered a letter of the alphabet\n" );

你可能感兴趣的:(C++/C语言函数:isalpha()函数)