由买买提看人间百态

topics

全部话题 - 话题: intstring
(共0页)
I**********s
发帖数: 441
1
来自主题: Unix版 - Unix上C++函数求救
If you check C reference book you can find many ways to do
this, I think.
One way currently I'm using is sprintf function:
char intString[20];
int n = 10;
sprintf(intString, "%d", n);
then you can use intString other places.
(共0页)