cctype 定义的函数 (记忆)

isalnum(c)		//如果c是字母或数字,则为true
isalpha(c)		//如果c是字母,则为true
iscntrl(c)		//如果c是控制字符,则为true
isdigit(c)		//如果c是数字,则为true
isgraph(c)		//如果c不是空格,但可以打印 则为true
islower(c)		//如果c是小写字母则为true
isprint(c)		//如果c是可打印的字母则为true
ispunct(c)		//如果c是标点符号则为true
isspace(c)		//如果c是空白字符则为true
isupper(c)		//如果c是大写字母则为true
isxdigit(c)		//如果c是十六进制则为true
tolower(c)		//如果c是大写字母,则返回其小写字母形式,否则返回c
toupper(c)		//如果c是小写字母,则返回其大写字母形式,否则返回c

原文地址:https://www.cnblogs.com/fuyou/p/2741879.html