course.cpp

来自「学生管理系统 使用Qt写的界面 交互性好」· C++ 代码 · 共 29 行

CPP
29
字号
#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 + =
减小字号Ctrl + -
显示快捷键?