//File: circle.h #ifndef CIRCLE_H #define CIRCLE_H #include #include using namespace std; class circle { friend ostream & operator << (ostream & out, const circle & c); friend istream & operator >> (istream & in, circle & c); private: double m_rad; double m_x, m_y; string m_name; public: //Constructors circle (); circle (double xcoord, double ycoord, double radius, string name); //Destructor ~circle (); //Accessors double circumference () const; double radius () const; string name () const; void center (double & x, double & y) const; }; #endif