#define ABC 5
//首先定义两个辅助宏
#define PRINT_MACRO_HELPER(x) #x
#define PRINT_MACRO(x) #x"="PRINT_MACRO_HELPER(x)
//显示宏的值
#pragma message(PRINT_MACRO(ABC))
#pragma message("a""b""c")
#ifndef DEFINE_TO_STR
#define _DEFINE_TO_STR(x) #x
#define DEFINE_TO_STR(x) _DEFINE_TO_STR(x)
#endif
#ifndef DEFINE_TO_STRW
#define _DEFINE_TO_STRW(x) L#x
#define DEFINE_TO_STRW(x) _DEFINE_TO_STRW(x)
#endif