作业帮 > 综合 > 作业

就是这段程序,为什么分号后面的也不能删掉?

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/11 13:39:09
就是这段程序,为什么分号后面的也不能删掉?
#define test(p1,p2,p3,p4,p5,p6,p7) {exp[0]=(p1),exp[1]=(p2),\
exp[2]=(p3),exp[3]=(p4),exp[4]=(p5),exp[5]=(p6),exp[6]=(p7); \
idx=0;\
maketree(exp,&idx,&head); \
if (work(&head)==res) \
{ \
found++;printf("%5d:",found);show(&head);\
if (found%3)) printf("\n");\
} \
destroy(&head);\
}\
因为这是个宏定义撒~宏定义需要在一行内完成,如果换行了,必须要加续行符~