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