_tprintfand _ftprintfshould be used with format strings TCHAR. TCHARis just a macro that is unpacked into charor wchar_t, depending on whether the macro is set _UNICODE.
So basically, if you donβt have it _UNICODE, it _ftprintfwill be equivalent fprintf, otherwise it will be equivalent fwprintf.
source
share