0_0_19729473_22667.cpp:41:2: error: 'Point' does not name a type
Point pp;
^
0_0_19729473_22667.cpp:46:22: error: 'Point' was not declared in this scope
double cir_area_inst(Point c1, double r1, Point c2, double r2)
^
0_0_19729473_22667.cpp:46:32: error: expected primary-expression before 'double'
double cir_area_inst(Point c1, double r1, Point c2, double r2)
^
0_0_19729473_22667.cpp:46:43: error: 'Point' was not declared in this scope
double cir_area_inst(Point c1, double r1, Point c2, double r2)
^
0_0_19729473_22667.cpp:46:53: error: expected primary-expression before 'double'
double cir_area_inst(Point c1, double r1, Point c2, double r2)
^
0_0_19729473_22667.cpp:46:62: error: expression list treated as compound expression in initializer [-fpermissive]
double cir_area_inst(Point c1, double r1, Point c2, double r2)
^
0_0_19729473_22667.cpp:47:1: error: expected ',' or ';' before '{' token
{ //Á½Ô²Ãæ»ý½»
^
0_0_19729473_22667.cpp: In function 'bool judge(point, double)':
0_0_19729473_22667.cpp:71:43: error: 'struct circle' has no member named 'pp'
double are = cir_area_inst(p, r, cir[i].pp, cir[i].r);
^
0_0_19729473_22667.cpp:71:55: error: 'cir_area_inst' cannot be used as a function
double are = cir_area_inst(p, r, cir[i].pp, cir[i].r);
^
0_0_19729473_22667.cpp: In function 'int main()':
0_0_19729473_22667.cpp:85:18: error: 'struct circle' has no member named 'pp'
cin >> cir[i].pp.x >> cir[i].pp.y >> cir[i].r;
^
0_0_19729473_22667.cpp:85:33: error: 'struct circle' has no member named 'pp'
cin >> cir[i].pp.x >> cir[i].pp.y >> cir[i].r;
^
0_0_19729473_22667.cpp:92:15: error: 'struct circle' has no member named 'pp'
a = cir[i].pp;
^
|