What does _T stands for in a CString

后端 未结 4 2170
清酒与你
清酒与你 2020-12-05 09:47

What does the \"T\" represents in a string. For example _T(\"Hello\").I have seen this in projects where unicode support is needed.What it actually tells the processor

4条回答
  •  自闭症患者
    2020-12-05 10:08

    From MSDN:

    Use the _T macro to code literal strings generically, so they compile as Unicode strings under Unicode or as ANSI strings (including MBCS) without Unicode

提交回复
热议问题