Use CString class
For example
int n=1000;
CString str;
str. Fomat("%d",n);
The Fomat function can be used to convert double.float.long and other types. It is similar to the printf format in C language and is very convenient