score.cpp

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

CPP
39
字号
#include "Score.h"

Score::Score(string s, string c, double g)
{
	this->SID = s;
	this->CID = c;
	this->grade = g;
}

void Score::setCID(string c)
{
	this->CID = c;
}

void Score::setgrade(double g)
{
	this->grade = g;
}

void Score::setSID(string s)
{
	this->SID = s;
}

string Score::getCID() const
{
	return this->CID;
}

double Score::getgrade() const
{
	return this->grade;
}

string Score::getSID() const
{
	return this->SID;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?