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
#include #include using namespace std; string concatenate(std::string const& name, int i) { stringstream s; s << name << i; return s.str(); }