我初始化一个字符串如下:
std::string myString = "'The quick brown fox jumps over the lazy dog' is an English-language pangram (a phrase that contains all of the letters of the alphabet)";
并且 myString 最终像这样被切断:
'The quick brown fox jumps over the lazy dog' 是一个英语 pangram(一个短语包含
我在哪里可以设置大小限制?我尝试了以下但没有成功:
std::string myString;
myString.resize(300);
myString = "'The quick brown fox jumps over the lazy dog' is an English-language pangram (a phrase that contains all of the letters of the alphabet)";
非常感谢!