📄 course.cpp
字号:
#include "Course.h"
Course::Course(string n, string id, double point,Teacher *t):Entity(n,id)
{
this->point = point;
this->t = t;
}
void Course::setpoint(double point)
{
this->point = point;
}
double Course::getpoint() const
{
return point;
}
void Course::setTeacher(Teacher *t)
{
this->t = t;
}
Teacher *Course::getTeacher()const
{
return this->t;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -