<分区>
Possible Duplicate:
How to convert concatenated strings to wide-char with the C preprocessor?
我有一个使用#define 定义的字符串文字:
#define B "1234\0"
我如何使用这个定义在编译时得到这个宽字符串文字?:
L"1234\0"
(只是 #define
d 字符串文字加上 L
前缀,使其成为一个宽字符串)。
我试过这个:
#define MAKEWIDE(s) L##s
但这会生成 LB
。