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 )
变成大写
全部评论

相关推荐

01-12 17:45
门头沟学院 Java
985废物一枚:就是问问你能不能接受北京的房租,hr也知道公司工资不高,大概率是要贴钱的
找实习记录
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务