[求助]长整型转C++string
我知道C++string 如何转 C string
整数如何转C string
但是就不知道长整型数转成 C++ string
哪位大侠知道望告知,感激不尽。
我知道C++string 如何转 C string
整数如何转C string
但是就不知道长整型数转成 C++ string
哪位大侠知道望告知,感激不尽。
2004-05-25 16:15

2004-05-25 19:00
2004-05-25 19:01
#include <cstdlib> #include <iostream> #include <sstream>
using namespace std;
int main() { long test = 2147383648; stringstream sout; string s;
sout << test; s = sout.str(); cout << s << endl;
system("pause"); return 0; }

2004-05-26 08:34
2004-05-26 22:50
2004-06-16 21:48
学习了学习了
2011-04-18 23:47