Int WSPrintf
LPTSTR LPOUT, / / Output buffer, maximum 1024 bytes
LPCTSTR LPFMT, // Format string
... // The parameters that need to be output
);
Use this function to convert the numbers to strings;
example:
INT x = 6;
LPTSTSTSTSZBUFFER = New Tchar [1024];
WSPrintf (SZBuffer, "% D", X);
MessageBox (NULL, SZBuffer, "", MB_OK);
You can use this function to replace LSTRCAT, and you can use it to connect multiple strings and numbers.