1. 判断字符是否为数字,大小写字母
#include <ctype.h>
数字 int isdigjt(int c) 是return TRUE,否则为NULL(0)
字母 isalpha
小写字母 islower
大写 isupper
2. 判断vector中是否存在某值,find,rfind,find_first_of,find_last_of
但vector若存放结构体struct时,需要重载operator==
typedef struct
1. 判断字符是否为数字,大小写字母
#include <ctype.h>
数字 int isdigjt(int c) 是return TRUE,否则为NULL(0)
字母 isalpha
小写字母 islower
大写 isupper
2. 判断vector中是否存在某值,find,rfind,find_first_of,find_last_of
但vector若存放结构体struct时,需要重载operator==
typedef struct