Translations of this page?:

isalnum

语法:

    #include <cctype>
    int isalnum( int ch );

函数 isalnum() 判断他的参数是一个数字或者一个字母则返回非零。否则,返回零。

     char c;
     scanf( "%c", &c );
     if( isalnum(c) )
       printf( "You entered the alphanumeric character %c\n", c );

相关主题: isalpha, iscntrl, isdigit, isgraph, isprint, ispunct, isspace, isxdigit,…

 
• • • SitemapRecent changesRSScc