doctorstudent.cpp

来自「学生信息管理系统实现了对本科生」· C++ 代码 · 共 43 行

CPP
43
字号
// DoctorStudent.cpp: implementation of the CDoctorStudent class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "StudentMIS.h"
#include "DoctorStudent.h"

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

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

CDoctorStudent::CDoctorStudent()
{

}

CDoctorStudent::~CDoctorStudent()
{

}

void CDoctorStudent::Display(CListCtrl* pListCtrl,int nImage)
{
	CMasterStudent::Display(pListCtrl,nImage);
	
	CString m_strPaper;
	m_strPaper.Format("%d",m_nPaper);
	pListCtrl->SetItemText(0,5,m_strPaper);
}

CDoctorStudent::CDoctorStudent(CString strName,CString strID,int nAge,CString strDepartment,CString strLab,int nPaper)
:CMasterStudent(strName, strID, nAge, strDepartment,strLab), m_nPaper(nPaper)
{
	
}

⌨️ 快捷键说明

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