#include <iostream> using namespace std; char* Int2String(int nData) { char szBuffer[1024] = {0}; sprintf(szBuffer,"%d",nData ); return szBuffer; } void main() { cout<<Int2String(4546)<<endl; getchar(); }