📄 secondline.h
字号:
//SecondLine二次函数类
//SecondLine.h
//包含的头文件
//类定义
class SecondLine:public Shape{ //继承于Shape类
DECLARE_SERIAL(SecondLine)
private:
double a; //二次函数参数a (y=a*x^2+b*x+c)
double b; //二次函数参数b (y=a*x^2+b*x+c)
double c; //二次函数参数c (y=a*x^2+b*x+c)
public:
SecondLine();
SecondLine(double a,double b,double c);
~SecondLine();
public:
virtual void drawShape(CDC *pDC,Coordinate co); //画二次函数
virtual void Serialize(CArchive& ar); //串行化
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -