/in/circle.cpp:5:1: error: redefinition of 'Circle::Circle(double, double, double)'
Circle::Circle(double x, double y, double r): centerX(x), centerY(y),radius(r){}
^~~~~~
In file included from /in/circle.cpp:3:0:
/in/compile/circle.h:12:5: note: 'Circle::Circle(double, double, double)' previously defined here
Circle(double x, double y, double r):centerX(x),centerY(y),radius(r){}
^~~~~~
/in/circle.cpp: In member function 'int Circle::isIntersect(Circle&)':
/in/circle.cpp:12:30: error: a function-definition is not allowed here before '{' token
void setX(double centerX){
^
/in/circle.cpp:16:30: error: a function-definition is not allowed here before '{' token
void setY(double centerY){
^