📄 sphere406.h
字号:
class Sphere{public:// constructors and operations as before Sphere(); Sphere(double initialRadius); void setRadius(double newRadius); double getRadius() const; double getDiameter() const; double getCircumference() const; double getArea() const; double getVolume() const; void displayStatistics() const; friend void readSphereData(Sphere &s); friend void writeSphereData(Sphere &s);private: double theRadius;}; // end class
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -