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 + -
显示快捷键?