Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - printf.c
Search - printf.c - List
C语言函数库速查手册,chm格式 原型:extern int isalnum(int c) 用法:#include <ctype.h> 功能:判断字符c是否为字母或数字 说明:当c为数字0-9或字母a-z及A-Z时,返回非零值,否则返回零。 举例: // isalnum.c #include <syslib.h> #include <ctype.h> main() { int c clrscr() // clear screen c= a printf(" c: s\n",c,isalnum(c)?"yes":"no") c= 7 printf(" c: s\n",c,isalnum(c)?"yes":"no") c= @ printf(" c: s\n",c,isalnum(c)?"yes":"no") getchar() return 0 } 相关函数:isalpha,isdigit,isxdigit,iscntrl,isgraph,isprint,ispunct,isspace-C language library Quick Fact Sheet, chm format, the prototype: extern int isalnum (int c) Usage:# include <ctype.h> Function: to determine whether the letter or character c figures show: When c is the number 0-9 or the letters az and AZ, the returned non-zero value, otherwise returns zero. For example:// isalnum.c# include <syslib.h># include <ctype.h> main () (int c clrscr () // clear screen c = ' a' printf ( " c: s \ n" , c, isalnum (c)? " yes" : " no" ) c = ' 7 ' printf ( " c: s \ n" , c, isalnum (c)? " yes" : " no" ) c =' @' printf ( " c: s \ n" , c, isalnum (c)? " yes" : " no" ) getchar () return 0 ) correlation functions: isalpha, isdigit, isxdigit, iscntrl, isgraph, isprint, ispunct, isspace
Date : 2025-12-21 Size : 81kb User : 成宝民
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.