student.h

来自「文件用于mfc的设计编写」· C头文件 代码 · 共 56 行

H
56
字号
#if !defined(AFX_STUDENT_H__8DA8B142_2A69_4B1A_9741_175010CCD193__INCLUDED_)
#define AFX_STUDENT_H__8DA8B142_2A69_4B1A_9741_175010CCD193__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Student.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CStudent window

class CStudent : public CWnd
{
// Construction
public:
	CStudent();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CStudent)
	//}}AFX_VIRTUAL

// Implementation
public:
	void print();
	CStudent(CString num,CString name,float score);
	virtual ~CStudent();
	void operator =(CStudent &stu);

	CString m_num;

	// Generated message map functions
protected:
	//{{AFX_MSG(CStudent)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CString m_name;
	float m_score;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STUDENT_H__8DA8B142_2A69_4B1A_9741_175010CCD193__INCLUDED_)

⌨️ 快捷键说明

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