[原创]谁问怎么把long转成string的?看过来!
#include <iostream>#include <string>
using namespace std;
#define STR(B) B
#define UINT(A) A;
#define TOTAL(B,C,A) C=A;\
if (C == A){B=#A;};
int main()
{
unsigned long uil = 10000;
string str;
TOTAL(str,uil,10000);
cout << str << endl;
return 0;
}