📄 sphere386.h
字号:
class Sphere{public:// constructors: Sphere(); Sphere(double initialRadius); // copy constructor and destructor supplied // by the compiler// Sphere operations: void setRadius(double newRadius); double getRadius() const; double getDiameter() const; double getCircumference() const; double getArea() const; double getVolume() const; void displayStatistics() const; private: double theRadius; // the sphere's radius}; // end class
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -