student.h

来自「MFC做的学生管理系统」· C头文件 代码 · 共 30 行

H
30
字号
// Student.h: interface for the CStudent class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_STUDENT_H__5073A59F_E077_4499_BEA4_5063443B9372__INCLUDED_)
#define AFX_STUDENT_H__5073A59F_E077_4499_BEA4_5063443B9372__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Person.h"
#include "Score.h"

class CStudent : public CPerson //学生类是系统主要操作的数据结构 
{
public:
	CString   m_strStuNum ; //学号
	CString   m_strEducation; //学历
	CScore    m_csScore;   //学习成绩

public:
	CStudent();
	virtual ~CStudent();
	virtual void Serialize(CArchive& ar);
	DECLARE_SERIAL(CStudent)
};

#endif // !defined(AFX_STUDENT_H__5073A59F_E077_4499_BEA4_5063443B9372__INCLUDED_)

⌨️ 快捷键说明

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