K
kathy
I am trying to convert integer to std::string by using:
int m,n;
std::string s1,s2;
std::stringstream sStream;
sStream << m;
s1 = sStream.str();
????? how to clear up sStream ???
sStream << n;
s2 = sStream.str();
int m,n;
std::string s1,s2;
std::stringstream sStream;
sStream << m;
s1 = sStream.str();
????? how to clear up sStream ???
sStream << n;
s2 = sStream.str();