Hello I am just wondering how do I convert my strings to the "sprintf" without any errors or possible losses of data.
The error note if it helps: "error C2664: 'sprintf' : cannot convert parameter 2 from 'TCHAR' to 'const char *"Code:TCHAR chText[150]; TCHAR chText2[150]; TCHAR chLine[300]; chLine = sprintf(chText, " - ", chText2);
Thx