hgfalgorithm

char 转string

char c;
string str;
stringstream stream;  //#include <sstream>
stream << c;
str = stream.str();

评论