就是这段程序,为什么分号后面的也不能删掉?
就是这段程序,为什么分号后面的也不能删掉?
#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);\
}\
#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);\
}\
其他人气:427 ℃时间:2019-10-19 23:55:22
优质解答
因为这是个宏定义撒~宏定义需要在一行内完成,如果换行了,必须要加续行符~
我来回答
类似推荐
猜你喜欢
- 1(1-2的平方分之1)(1-3的平方分之1).(1-9的平方分之1)(1-10的平方分之1) (用因式分解计算)
- 2关于黄河的诗句
- 3光的速度约为3x10的5次方千米/秒,银河系的直径为10亿光年,约合多少千米
- 4一座桥长7050m,一列长150m的列车以54km/h的速度匀速通过这座桥.
- 5猴子的尾巴有什么作用?
- 6一乘三分之1+ 3乘5分之1 +5乘7分之1……+99乘101分之一 等于多少?
- 7某种合金有两种金属构成,密度为you1.you2,问密度
- 8l want a glass of milk.对划线部分提问 a glass of milk画的线
- 9The new star said to the journalists that she_____the opportunity to show that she could play a serious film role.A.gree
- 1068+32-68+32= 简便计算