You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#include<stdio.h>
|
|
|
|
#include<stdlib.h>
|
|
|
|
#include<string.h>
|
|
|
|
|
|
|
|
typedef struct{
|
|
|
|
char *id;
|
|
|
|
char *clas;
|
|
|
|
char *name;
|
|
|
|
double score1;
|
|
|
|
double score2;
|
|
|
|
double score3;
|
|
|
|
double score;
|
|
|
|
}Student;
|
|
|
|
|
|
|
|
typedef struct{
|
|
|
|
Student* student;
|
|
|
|
int nums;
|
|
|
|
}ss;
|
|
|
|
|
|
|
|
ss* init(int);
|
|
|
|
Student* newStudent();
|
|
|
|
void stucpy(Student* dest, Student* src);
|
|
|
|
void stuswp(Student* fi, Student* se);
|
|
|
|
int mainMenu(ss *stu);
|
|
|
|
void ModifyInfo(ss* stu);
|
|
|
|
void getCom(ss*);
|
|
|
|
void Print(Student*);
|
|
|
|
void allPrint(ss*);
|
|
|
|
void input(ss*);
|
|
|
|
void cancel(ss*);
|
|
|
|
void Select(ss*);
|
|
|
|
void Order(ss*);
|