📄 student.h
字号:
#if !defined(AFX_STUDENT_H__517CE199_47E7_4971_A193_ADD83116A9C6__INCLUDED_)
#define AFX_STUDENT_H__517CE199_47E7_4971_A193_ADD83116A9C6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Student.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CStudent command target
class CStudent : public CCmdTarget
{
DECLARE_DYNCREATE(CStudent)
// protected constructor used by dynamic creation
// Attributes
public:
CStudent(); //注意:MFC ClassWizard将其定义为私有
CStudent(const int,const CString,const int);
virtual void Serialize(CArchive&ar);
// Operations
public:
int m_Num; //学号
CString m_Name; //姓名
int m_Score; //成绩
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CStudent)
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CStudent();
// Generated message map functions
//{{AFX_MSG(CStudent)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
// DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STUDENT_H__517CE199_47E7_4971_A193_ADD83116A9C6__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -