如何连接std:string和int?
我以为这会很简单,但它带来了一些困难。如果我有
std::string name = "John";int age = 21;
如何将它们组合成一个字符串"John21"?
"John21"
斯蒂芬大帝
相关分类