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