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



LOFTER:hgfalgorithm   http://hgfal.lofter.com/post/28eef2_eaa1e2