?? managestudent.h
字號(hào):
// ManageStudent.h: interface for the CManageStudent class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MANAGESTUDENT_H__431592BD_68F5_4479_874D_5569466A39ED__INCLUDED_)
#define AFX_MANAGESTUDENT_H__431592BD_68F5_4479_874D_5569466A39ED__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <string>
#include <vector>
#include "Student.h"
using namespace std;
class CManageStudent{
protected:
static vector<CStudent> data;//存放學(xué)生原始成績(jī)
void OnBrower();//瀏覽數(shù)據(jù)
void OnFind();//查找數(shù)據(jù)
void OnInvalidateInput(char*);//輸入錯(cuò)誤提示
void OnAddData();//添加數(shù)據(jù)
bool OnSave();//保存
CManageStudent*parent;
public:
static string title[8];//課程名稱
static int wid[8];//打印寬度
CManageStudent(CManageStudent*p=0):parent(p){}
bool InitialData();//讀入數(shù)據(jù)到內(nèi)存
virtual void ShowMenu();//顯示菜單
virtual void DoEvent(int ID);//響應(yīng)用戶輸入
};
#endif // !defined(AFX_MANAGESTUDENT_H__431592BD_68F5_4479_874D_5569466A39ED__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -