student.h

来自「学生管理系统 使用Qt写的界面 交互性好」· C头文件 代码 · 共 28 行

H
28
字号
#pragma once

#ifndef INCLUDE_STUDENT_H
#define INCLUDE_STUDENT_H

#include "entity.h"
#include <string>

using namespace std;

class Student :
	public Entity
{
	int age;
	char sex;
public:
	Student(string n, string id, int age, char sex);
	void setage(int age);
	int getage()const;
	void setsex(char sex);
	char getsex()const;
};


#endif


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?