📄 student.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -