#define TEST
如何在源文件中将 TEST 设为空字符串?
Should I see an issue of empty text macro propagated throughout a source file as something normal ? For specific cases e.g in windows programming with use of wide characters
#define EMPTY_TEXT L""
or
#define EMPTY_TEXT _T("")
or
#define EMPTY_TEXT TEXT("")
如果您只需要一个空的 C 字符串:
#define TEST ""