C++ 数字转字符串时间:2024-04-19 18:34:32 #include <sstream> string num2str( int i) { stringstream ss; ss<<i; return ss.strs(); }