我一直在寻找,找不到任何东西.考虑这个结构
typedef struct student { char name[40]; char grade; }Student;
如何使用参数初始化结构的宏?有点像
Student John = STUDENT(John, A);
其中STUDENT是一个定义的宏
c macros struct
c ×1
macros ×1
struct ×1