I'm using stringstream in put variables in string like
int c;
stringstream ss;
string st;
ss << "some texts" << c;
st=ss.str();
cout << st;
but when i change the c and call back ss.str() again, ss.str() is saving ex-int c, not new one. Is there any functions or way to string is influenced by changing variable here?