?? student.h
字號:
// Student.h: interface for the CStudent class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_STUDENT_H__E988DD2A_C258_4B58_BD36_84D5F6376BAE__INCLUDED_)
#define AFX_STUDENT_H__E988DD2A_C258_4B58_BD36_84D5F6376BAE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <string.h>
#include <vector>
#include<iostream>
#include<fstream>
#include "CourseScore.h"
using namespace std;
class CStudent
{
protected:
string m_strName;
string m_strNo;
//vector< CCourseScore* > m_vCourse;
int m_iGrade;
public:
CStudent(string strName,
string strNo,int iGrade);
CStudent();
void display()
{
cout<<"name=\""<<m_strName<<"\""
<<",no="<<m_strNo
<<",grade="
<<m_iGrade<<"\n";
}
virtual ~CStudent();
};
#endif // !defined(AFX_STUDENT_H__E988DD2A_C258_4B58_BD36_84D5F6376BAE__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -