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.
|
|
|
|
#define _CRT_SECURE_NO_WARNINGS
|
|
|
|
|
#include<stdio.h>
|
|
|
|
|
#include<stdlib.h>
|
|
|
|
|
#include<string.h>
|
|
|
|
|
#define maxsize 50
|
|
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
|
{
|
|
|
|
|
char names[maxsize];
|
|
|
|
|
int num;
|
|
|
|
|
int math;
|
|
|
|
|
int english;
|
|
|
|
|
int sum_score;
|
|
|
|
|
}student;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct LNode
|
|
|
|
|
{
|
|
|
|
|
student data;
|
|
|
|
|
struct LNode* next;
|
|
|
|
|
}LNode;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void studentinit(student t);
|
|
|
|
|
int student_show_menu();
|
|
|
|
|
void student_show(LNode* head); //<2F><>ȡȫ<C8A1><C8AB>ѧ<EFBFBD><D1A7><EFBFBD><EFBFBD>Ϣ
|
|
|
|
|
void student_input(LNode* head); //<2F><><EFBFBD><EFBFBD>ѧ<EFBFBD><D1A7><EFBFBD><EFBFBD>Ϣ
|
|
|
|
|
int name_find(LNode* head, student f); //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯѧ<D1AF><D1A7>
|
|
|
|
|
int num_find(LNode* head, student f2); //<2F><>ѧ<EFBFBD>Ų<EFBFBD><C5B2><EFBFBD>ѧ<EFBFBD><D1A7>
|
|
|
|
|
void num_seq(LNode* head); //<2F><>ѧ<EFBFBD><D1A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
void sum_seq(LNode* head); //<2F><><EFBFBD>ܳɼ<DCB3><C9BC><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
void stu_insert(LNode* head, student in); //<2F><><EFBFBD><EFBFBD>ѧ<EFBFBD><D1A7><EFBFBD><EFBFBD>Ϣ
|
|
|
|
|
void stu_del(LNode* head, student* dl); //ɾ<><C9BE>ѧ<EFBFBD><D1A7><EFBFBD><EFBFBD>Ϣ
|