student.h

来自「创建用户界面交互平台,主要是熟悉控件的使用」· C头文件 代码 · 共 56 行

H
56
字号
#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 + =
减小字号Ctrl + -
显示快捷键?