现在的位置: 首页 > 综合 > 正文

TCHAR之于Microsoft

2012年01月03日 ⁄ 综合 ⁄ 共 472字 ⁄ 字号 评论关闭

From MSDN:

To simplify code development for various international markets, the Microsoft run-time library (CRT) provides Microsoft-specific "generic-text" mappings for many data types, routines, and other objects. These mappings are defined in TCHAR.H. You can use these name mappings to write generic code that can be compiled for any of the three kinds of character sets: ASCII (SBCS), MBCS, or Unicode, depending on a manifest constant you define using a #define statement. Generic-text mappings are Microsoft extensions that are not ANSI compatible.

抱歉!评论已关闭.