📄 course.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -