头文件#include <ctype.h> 、#include <cctype>
1. bool isalnum(char c)
判断一个字符是否为字母或数字
2. bool isalpha(char c)
判断一个字符是否为字母
3. bool isdigit( char c)
判断字符是否为数字
4. bool iscntrl(char c)
判断字符是否为控制符
5.bool islower(char c);
判断字符是否为小写字母
6. bool isupper(char c)
判断字符是否为大写字母
7. bool isascii(char c)
判断字符是否为ASCII码
8. bool isgraph(char c);判断字符c是否为除空格外的可打印字符9.bool isspace( char c)
判断是否为空白符
10. bool isprint(char c);判断字符c是否为可打印字符(含空格)11.bool ispunct(int c)
判断字符是否为标点符号
12.char toacsii(int c)
转为ASCII
13. char toupper(char c)
转为大写英语字母
14. char tolower
转为小写英语字母