// test_circle.cpp #include #include "circle.h" using namespace std; int main() { Circle c1(1.0, 2.0, 0.5); // construct an object named 'c1' of type 'Circle' Circle circle2(2.5, 3.0, 0.1); // another object named 'circle2' c1.Show(); // tell the object c1 to execute the member function Show circle2.Show(); // circle2 runs its member function Show c1.Move(1.1, 2.1); // move center c1.Show(); circle2.Set(0.2); // set a new radius circle2.Show(); return 0; }