_ T ("") is a macro, whose role is to make yourProgramSupports Unicode encoding.
Because Windows uses the ANSI and Unicode character sets,
The former is the common single-byte mode,
However, it is inconvenient to process double-byte characters such as Chinese characters in this way,
It is easy to have half Chinese characters.
The latter is in dubyte mode to facilitate the processing of dubyte characters.
All character-related functions of Windows NT provide two versions, while Windows 9x only supports ANSI.
If you compile a program in ANSI mode,
_ T does not actually play any role.
If a program is compiled in Unicode mode, the compiler saves the "hello" string in Unicode mode. The difference between _ T and _ L is that _ L is saved in Unicode no matter how you compile it.
This article is transferred from
Http://blog.csdn.net/flashlm/archive/2007/07/06/1681476.aspx