ball407.h
来自「Data Abstraction & Problem Solving with 」· C头文件 代码 · 共 18 行
H
18 行
#include "Sphere406.h"#include <string>using namespace std; class Ball: public Sphere{public: Ball(); Ball(double initialRadius, const string initialName); void getName(string currentName) const; void setName(const string newName); void resetBall(double newRadius, const string newName); void displayStatistics() const;private: string theName; // the ball's name}; // end class
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?