vector size()方法 返回容器大小 string length()/size() 字符串的字节数 strlen(strdata.c_str()) 字符串长度 来源:https://www.cnblogs.com/yangxingsha/p/11673258.html 标签 长度