⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 student.cpp

📁 通讯录程序
💻 CPP
字号:
// Student.cpp: implementation of the CStudent class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "AddressList.h"
#include "Student.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CStudent::CStudent()
{
	
}

CStudent::~CStudent()
{

}

void CStudent::AddName(const CString s)
{
	m_name = s;		
}

void CStudent::AddID(const CString id)
{
	m_id = id;
}

void CStudent::AddTeleNum(const CString tel)
{
	m_telenum = tel;
}

void CStudent::AddPost(const CString post)
{
	m_post = post;
}

void CStudent::AddAddress(const CString add)
{
	m_address = add;
}

CString CStudent::GetId()
{
	return m_id;
}

CString CStudent::GetName()
{
	return m_name;
}

CString CStudent::GetTeleNum()
{
	return m_telenum;
}

CString CStudent::GetPost()
{
	return m_post;
}

CString CStudent::GetAddress()
{
	return m_address;
}

⌨️ 快捷键说明

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