📄 student.cpp
字号:
// Student.cpp: implementation of the Student class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Course.h"
#include "Student.h"
#include "Manager.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CStudent::CStudent()
{
num="";
Class="";
name="";
password="";
}
CStudent::~CStudent()
{
}
void CStudent::Set(CString x,CString y,CString z,CString w)
{
name=x;
num=y;
password=z;
Class=w;
}
CString CStudent::GetName()
{
return name;
}
CString CStudent::GetNum()
{
return num;
}
CString CStudent::GetPassword()
{
return password;
}
CString CStudent::GetClass()
{
return Class;
}
void CStudent::SetName(CString x)
{
name=x;;
}
void CStudent::SetNum(CString x)
{
num=x;
}
void CStudent::SetPassword(CString x)
{
password=x;
}
void CStudent::SetClass(CString x)
{
Class=x;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -