student.h
来自「钱能的经典入门教程《C++程序设计教程》书中例程的代码」· C头文件 代码 · 共 18 行
H
18 行
//*********************
//** student.h **
//*********************
#ifndef STUDENT
#define STUDENT
class Student{
public:
Student(char* pName ="no name");
~Student();
static int number(); //静态成员函数
protected:
static int noOfStudents;
char name[40];
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?