弱问:如何把一个int转换STL里的string类型?多谢[解决办法]#include <sstream> std::string cast(int i) { std::stringstream ss; ss < <i; return ss.str(); }