course.h
来自「学生管理系统 使用Qt写的界面 交互性好」· C头文件 代码 · 共 29 行
H
29 行
#pragma once
#ifndef INCLUDE_COURSE_H
#define INCLUDE_COURSE_H
#include "entity.h"
#include "Teacher.h"
#include <string>
using namespace std;
class Course :
public Entity
{
double point;
Teacher *t;
public:
Course(string n, string id, double point,Teacher *t);
void setpoint(double point);
double getpoint()const;
void setTeacher(Teacher *t);
Teacher *getTeacher()const;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?