📄 exam8_3doc.h
字号:
// Exam8_3Doc.h : interface of the CExam8_3Doc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_EXAM8_3DOC_H__CCF96CAD_52C4_453D_A762_369767E39B6F__INCLUDED_)
#define AFX_EXAM8_3DOC_H__CCF96CAD_52C4_453D_A762_369767E39B6F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "student.h"
class CExam8_3Doc : public CDocument
{
protected: // create from serialization only
CExam8_3Doc();
DECLARE_DYNCREATE(CExam8_3Doc)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CExam8_3Doc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
virtual void DeleteContents();
//}}AFX_VIRTUAL
// Implementation
public:
void AddStu(CString Name,int Grade);
CStudent* GetStu(int index);
int GetStuNumber();
void DelStu(int index);
void delStuAll();
virtual ~CExam8_3Doc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
CObArray m_ObArray;
//{{AFX_MSG(CExam8_3Doc)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EXAM8_3DOC_H__CCF96CAD_52C4_453D_A762_369767E39B6F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -