stuscore.h
来自「关于分数管理的程序。导入学生成绩并对其进行查询、排序、删除等操作。」· C头文件 代码 · 共 63 行
H
63 行
#if !defined(AFX_STUSCORE_H__CB00A732_78B8_47CF_AD1A_22457CF4AD56__INCLUDED_)
#define AFX_STUSCORE_H__CB00A732_78B8_47CF_AD1A_22457CF4AD56__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StuScore.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CStuScore command target
class CStuScore : public CCmdTarget
{
DECLARE_DYNCREATE(CStuScore)
// protected constructor used by dynamic creation
// Attributes
public:
CStuScore();
CStuScore(int,CString,CString,int,int,int);
CStuScore(const CStuScore&);
virtual ~CStuScore();
double aver(void);
int m_Number; //学号
CString m_Name; //姓名
CString m_Class; //专业
int m_Math; //数学成绩
int m_English; //英语成绩
int m_Computer; //计算机成绩
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CStuScore)
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CStuScore)
// 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_STUSCORE_H__CB00A732_78B8_47CF_AD1A_22457CF4AD56__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?