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