📄 sutinfo.h
字号:
#if !defined(AFX_SUTINFO_H__E8FE641D_78FC_4340_857D_84D772934EA9__INCLUDED_)
#define AFX_SUTINFO_H__E8FE641D_78FC_4340_857D_84D772934EA9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SutInfo.h : header file
//
#include "string.h"
#include "afxwin.h"
#include "Course.h"
/////////////////////////////////////////////////////////////////////////////
// CSutInfo command target
class CSutInfo : public CCmdTarget
{
//DECLARE_DYNCREATE(CSutInfo)
//★★★★★★★★★★★★★★★★★★★★★★★
DECLARE_SERIAL(CSutInfo)//声明
//★★★★★★★★★★★★★★★★★★★★★★★
// Attributes
public:
//★★★★★★★★★★★★★★★★★★★★★★★
CString m_StuNum;
CString m_StuName;
int m_Sex;
int m_Age;
int m_Grade;
//指向成绩的指针
CString m_ScoreName[10];
CString m_ScoreTeacher[10];
float m_Score[10];
int SoreIndex;
//成绩的索引
//★★★★★★★★★★★★★★★★★★★★★★★
// Operations
public:
CSutInfo(); // protected constructor used by dynamic creation
//★★★★★★★★★★★★★★★★★★★★★★★
CSutInfo(CString,CString,int,int,int);
//构造函数
CSutInfo::CSutInfo(const CSutInfo&);
//★★★★★★★★★★★★★★★★★★★★★★★
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSutInfo)
//★★★★★★★★★★★★★★★★★★★★★★★
public:
virtual void Serialize(CArchive& ar);//重载基类的Serialize函数,用于序列化
//★★★★★★★★★★★★★★★★★★★★★★★
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CSutInfo();
// Generated message map functions
//{{AFX_MSG(CSutInfo)
// 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_SUTINFO_H__E8FE641D_78FC_4340_857D_84D772934EA9__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -