ctype.h

< ctype.h >

Judge function
isalnum
Check if character is alphanumeric (function )
判断是不是字母或者数字
isalpha
Check if character is alphabetic (function )
判断是否是字母
isblank
Check if character is blank (function )
判断是否是空白字符
iscntrl
Check if character is a control character (function )
判断是否是控制字符
isdigit
Check if character is decimal digit (function )
判断是否是数字
isgraph
Check if character has graphical representation (function )
除空格以外的任意可打印字符
islower
Check if character is lowercase letter (function )
判断是否是小写字母
isprint
Check if character is printable (function )
判断是否是可打印字符
ispunct
Check if character is a punctuation character (function )
判断是否是标点
isspace
Check if character is a white-space (function )
 判断是空白字符
isupper
Check if character is uppercase letter (function )
判断是否是大写字母
isxdigit
Check if character is hexadecimal digit (function )
判断是十六进制数字

Character conversion functions

Two functions that convert between letter cases:

tolower
 Convert uppercase letter to lowercase (function )
 变成小写
toupper
Convert lowercase letter to uppercase (function )
变成大写
全部评论

相关推荐

微风不断:兄弟,你把四旋翼都做出来了那个挺难的吧
点赞 评论 收藏
分享
评论
点赞
收藏
分享
牛客网
牛客企业服务