![]() |
Data Abstraction and Problem Solving with C++Walls and Mirrorsby Frank M. Carrano |
![]() |
Sphere412.hGo to the documentation of this file.00001 00017 class Sphere 00018 { 00019 public: 00020 // constructors and operations as before 00021 friend void readSphereData(Sphere& s); 00022 friend void writeSphereData(Sphere& s); 00023 private: 00024 double theRadius; // the sphere's radius 00025 }; // end Sphere |