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

📄 student.h

📁 这是一个基于.net开发环境开发的学生信息管理系统源代码经过测试可以正常使用
💻 H
字号:
#pragma once

#define MAX_NUM_STUDENT 100

typedef struct tagStudent
{
	char name[20];
	long id;
	char sex[10];
	int math;
	int english;
	int computer;
	int chinese;
	int allscore;
	float avescore;
}SingleStu, ArrStu[MAX_NUM_STUDENT];


typedef struct tagPupil
{
	ArrStu infoOfStu;
	int numOfStu;
	int maxSize;
}Pupil;

class CStudent
{
public:
	CStudent(void);
	~CStudent(void);

	void AdmitStu();

	void Search_id();
	void Search_name();
	void Search_sex();
	void Search();

	void Sorting_math();
	void HeapAdjust(int differ, int end);

	void Sorting_english();
	int Partition(int low, int high);
	void QuickSort(int low, int high);

	void Sorting_chinese();

	void Sorting_computer();
	void ShellInsert(int pace);

	void Sorting_allscore();

	void Sorting_avescore();

	void Sorting();

	void Output();

protected:
	Pupil pupil;
};

⌨️ 快捷键说明

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