studentbasicinformation.h

来自「小学期课程设计」· C头文件 代码 · 共 55 行

H
55
字号
#include"publicHeadFile.h"

class studentInformation
{
private:
	int s_number;
	char s_name[20];
	char s_sex[4];
	char s_gread[10];
	char s_class[10];
	char s_minzhu[10];
	char s_jiguan[20];
	char s_birthday[30];
	char s_zhengzhimianmao[10];
	char s_qinshilou_number[10];
	char s_qinshi_number[10];
	char s_qinshi_phoneNumber[60];
	char s_lianxi_phone[60];
	char s_lianxi_address[100];
	studentInformation *next;


public:
//	static	studentInformation *point;
	studentInformation  *readStuCount();
	studentInformation	*createStuInfLink(int i);
	studentInformation	*addStuInf(studentInformation	*head);
	studentInformation	*reducesStuInf(studentInformation	*head);
	studentInformation	*modiflyStuInf(studentInformation	*head);

	bool	check(studentInformation *head);
	bool	name(studentInformation		*head);
	bool	number(studentInformation	*head);
	bool	classID(studentInformation	*head);

	void setStuBasicInformation();
	void write(studentInformation *head);

/*	void getNumber(s[]);
	void getName(s[]);
	void getSex(s[]);
	void getGread(s[]);
	void getClass(s[]);
	void getMinzhu(s[]);
	void getGiguan(s[]);
	void getBirthday(s[]);
	void getZhengzhimianmao(s[]);
	void getQinshilou_number(s[]);
	void getQinshi_number(s[]);
	void getQinshi_phoneNumber(s[]);
	void getLianxi_phone(s[]);
	void getLianxi_address(s[]);*/

	void disMessage();
};

⌨️ 快捷键说明

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