Compare commits

..

No commits in common. 'student.h' and 'main' have entirely different histories.

@ -1,26 +0,0 @@
# StudentInformationManagementSystem
#ifndef STUDENT_H
#define STUDENT_H
typedef struct {
int sid; // 学号
char name[20]; // 姓名
float score; // 成绩
} Student;
typedef struct {
Student data[100]; // 顺序表存储
int length; // 当前人数
} SqList;
// 功能函数声明
void InputStudents(SqList *L, int n);
void PrintStudents(SqList L);
int InsertStudent(SqList *L, int pos, Student s);
int DeleteStudent(SqList *L, int pos);
int GetStudentCount(SqList L);
void InsertSortByName(SqList *L);
void QuickSortBySid(SqList *L);
Student* BinarySearch(SqList L, int sid);
#endif
Loading…
Cancel
Save