I am performing addition on strings but not getting desired result .Kindly help me with proper solution-
1 2 3 4 5 6
std::stringstream out;
string addstr ="Good Name";
string name = "rahul;
out << "Your Name " << name;
out.str() = out.str() + addstr; //This operation is returing = "Your Name rahul" but I need 'addstr' to be added as well