语法:
#include <cstring> size_t strlen( char *str );
strlen()返回str的长度(由null终止符前的字符数量决定)。str不可以为空。
相关主题: memcpy, strchr, strcmp, strncmp