頭文件#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
轉爲小寫英語字母