0_0_16391436_32042.cpp: In function 'void gao()':
0_0_16391436_32042.cpp:13:16: error: lvalue required as unary '&' operand
#define X real()
^
0_0_16391436_32042.cpp:68:30: note: in expansion of macro 'X'
scanf("%lf%lf",&s[i].X,&s[i].Y);
^
0_0_16391436_32042.cpp:14:16: error: lvalue required as unary '&' operand
#define Y imag()
^
0_0_16391436_32042.cpp:68:38: note: in expansion of macro 'Y'
scanf("%lf%lf",&s[i].X,&s[i].Y);
^
0_0_16391436_32042.cpp:78:16: error: lvalue required as left operand of assignment
s[i].X = -s[i].X;
^
0_0_16391436_32042.cpp:80:17: error: lvalue required as left operand of assignment
ts[i].X = -ts[i].X;
^
0_0_16391436_32042.cpp: In function 'int main()':
0_0_16391436_32042.cpp:13:16: error: lvalue required as unary '&' operand
#define X real()
^
0_0_16391436_32042.cpp:110:35: note: in expansion of macro 'X'
scanf("%lf%lf", &p[i].X, &p[i].Y);
^
0_0_16391436_32042.cpp:14:16: error: lvalue required as unary '&' operand
#define Y imag()
^
0_0_16391436_32042.cpp:110:44: note: in expansion of macro 'Y'
scanf("%lf%lf", &p[i].X, &p[i].Y);
^
|