0_0_36753195_12397.cpp:72:21: error: 'Point' was not declared in this scope
double intersection(Point a, double r1, Point b, double r2) {
^
0_0_36753195_12397.cpp:72:30: error: expected primary-expression before 'double'
double intersection(Point a, double r1, Point b, double r2) {
^
0_0_36753195_12397.cpp:72:41: error: 'Point' was not declared in this scope
double intersection(Point a, double r1, Point b, double r2) {
^
0_0_36753195_12397.cpp:72:50: error: expected primary-expression before 'double'
double intersection(Point a, double r1, Point b, double r2) {
^
0_0_36753195_12397.cpp:72:59: error: expression list treated as compound expression in initializer [-fpermissive]
double intersection(Point a, double r1, Point b, double r2) {
^
0_0_36753195_12397.cpp:72:61: error: expected ',' or ';' before '{' token
double intersection(Point a, double r1, Point b, double r2) {
^
0_0_36753195_12397.cpp: In function 'int main()':
0_0_36753195_12397.cpp:89:9: error: 'Point' was not declared in this scope
Point p1{x1, y1}, p2{x2, y2};
^
0_0_36753195_12397.cpp:89:25: error: expected primary-expression before ',' token
Point p1{x1, y1}, p2{x2, y2};
^
0_0_36753195_12397.cpp:89:27: error: 'p2' was not declared in this scope
Point p1{x1, y1}, p2{x2, y2};
^
0_0_36753195_12397.cpp:90:51: error: 'p1' was not declared in this scope
printf("Case #%d: %f\n", tc, intersection(p1, R, p2, R) - intersection(p1, R, p2, r) * 2 + intersection(p1, r, p2, r));
^
0_0_36753195_12397.cpp:90:63: error: 'intersection' cannot be used as a function
printf("Case #%d: %f\n", tc, intersection(p1, R, p2, R) - intersection(p1, R, p2, r) * 2 + intersection(p1, r, p2, r));
^
0_0_36753195_12397.cpp:90:92: error: 'intersection' cannot be used as a function
printf("Case #%d: %f\n", tc, intersection(p1, R, p2, R) - intersection(p1, R, p2, r) * 2 + intersection(p1, r, p2, r));
^
0_0_36753195_12397.cpp:90:125: error: 'intersection' cannot be used as a function
printf("Case #%d: %f\n", tc, intersection(p1, R, p2, R) - intersection(p1, R, p2, r) * 2 + intersection(p1, r, p2, r));
^
|