Ven*_*nus 0 c++
字符串中是否允许使用最大字符数?如果是这样,字符数限制是多少?
Gor*_*kic 6
因为std::string str你可以获得最大尺寸str.max_size().
std::string str
str.max_size()
获取当前分配的大小使用str.capacity().
str.capacity()
归档时间:
16 年 前
查看次数:
4356 次
最近记录: