circle.h
来自「谭浩强 《C++ 程序设计》第三版的部分课后练习题源码」· C头文件 代码 · 共 14 行
H
14 行
class Circle:public Point
{
protected:
float r;
public:
Circle(float a,float b,float c):Point(a,b),r(c){}
float area()const;
void showname()const { cout<<"the information of the circle :"; }
void display()const;
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?