?? student.h
字號(hào):
//*********************
//** student.h **
//*********************
#include <iostream.h>
#include <string.h>
#ifndef STUDENT
#define STUDENT
//大學(xué)生類(lèi)
class Student{
public:
Student(char* pS, unsigned num, float g)
{
strcpy(pName,pS);
uID=num;
grade=g;
}
virtual void display(ostream& out);
protected:
char pName[20];
unsigned int uID;
float grade;
};
ostream& operator<<(ostream& out, Student& st);
#endif
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -