宏名转字符串#define MACRO_NAME_TO_STRING(x) (#x)

#define MACRO_NAME_TO_STRING(x) (#x)

printf("%s\n", MACRO_NAME_TO_STRING(MY_MACRO0));
posted @ 2024-04-03 15:12  败人两字非傲即惰  阅读(18)  评论(0编辑  收藏  举报