typedef wchar_t WCHAR; // wc, 16-bit UNICODE character
#ifndef _WCHAR_T_DEFINED
typedef unsigned short wchar_t;
#define _WCHAR_T_DEFINED
#endif
#define UNICODE
#define _UNICODE
#ifdef UNICODE
typedef WCHAR TCHAR;
#else
typedef char TCHAR;
#endif
"hello world" //这个字符串使用的是 8 位字符
L "hello world" //在字符串前面加个 'L' 表示这个字符串使用 16 位字符
_T "hello world" //这个字符串使用通用文本字符
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |