0_0_30600360_8298.cpp:25:13: error: 'Point' was not declared in this scope
double dist(Point a,Point b){
^
0_0_30600360_8298.cpp:25:21: error: 'Point' was not declared in this scope
double dist(Point a,Point b){
^
0_0_30600360_8298.cpp:25:28: error: expression list treated as compound expression in initializer [-fpermissive]
double dist(Point a,Point b){
^
0_0_30600360_8298.cpp:25:29: error: expected ',' or ';' before '{' token
double dist(Point a,Point b){
^
0_0_30600360_8298.cpp: In function 'int main()':
0_0_30600360_8298.cpp:62:38: error: 'dist' cannot be used as a function
double r = dist(tmp,a[s1]);
^
0_0_30600360_8298.cpp:65:39: error: 'dist' cannot be used as a function
if( fabs(dist(a[i],tmp)-r)<1e-6)
^
0_0_30600360_8298.cpp:69:53: error: expected ')' before ';' token
printf("%lf %lf %lf\n",tmp.x,tmp.y,r;
^
|