⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sushe.h

📁 实现学生宿舍信息的基本管理
💻 H
字号:
// sushe.h: interface for the sushe class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SUSHE_H__209123D1_03DC_43B7_924F_440D6DA4DB75__INCLUDED_)
#define AFX_SUSHE_H__209123D1_03DC_43B7_924F_440D6DA4DB75__INCLUDED_

#include "iostream.h"
#include "man.h"
#include "woman.h"
#include "iostream.h"
#include "stdlib.h"//system("cls")
const int maxx=4;//学生宿舍最多容纳人数
const int maxm=100;//最多的男生入住人数
const int maxw=100;//最多的女生入住人数

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class sushe  
{
	man m[maxm];
	woman w[maxw];
	static int nanshu;
	static int nvshu;
	int fangjian[51];//房间总共50间,男生宿舍为1~25号,女生宿舍为26~50号
	int number;
	char a;
public:
	sushe();

	void ruzhu();//入住函数
		
	void tuichu();//退出宿舍函数
	
	void show();//显示宿舍成员函数

	virtual ~sushe();

};



#endif // !defined(AFX_SUSHE_H__209123D1_03DC_43B7_924F_440D6DA4DB75__INCLUDED_)

⌨️ 快捷键说明

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