When programming in MFC, I default character set development, so the corresponding is char * if switch to UNICODE, with wchat_t, can also use Microsoft's macro LPCTSTR LPTSTR, cstrings adaptive, etc. But if we use a certain I like sprintf, what macros are automatically switching sprintf and wsprintf?
CodePudding user response:
Select the sprintf F1 in the MSDN documentation description TCHAR. H Routine _UNICODE & amp; _MBCS Not Defined _MBCS Defined _UNICODE Defined _stprintf sprintf sprintf swprintf