string strTest = "";
string strTemp = "";
int nport = 56789;
while (nport != 0)
{
int _port = ((nport%10)+48);
strTemp += _port;
strTest = strTemp + strTest;
strTemp = "";
nport /= 10;
}
不知道为什么,感觉怪怪的
string strTest = "";
string strTemp = "";
int nport = 56789;
while (nport != 0)
{
int _port = ((nport%10)+48);
strTemp += _port;
strTest = strTemp + strTest;
strTemp = "";
nport /= 10;
}
不知道为什么,感觉怪怪的