I thought this would be really simple but it's presenting some difficulties. If I have
std::string name = "John";
int age = 21;
How do I combine them to get a single string "John21"
?
转载于:https://stackoverflow.com/questions/191757/how-to-concatenate-a-stdstring-and-an-int