急求高手帮做个人约会管理系统

来源:百度知道 编辑:UC知道 时间:2024/06/08 01:36:00
学生选课系统
i)描述学生类的层次结构,不同专业、不同年级的同学选择不同的课程
ii)描述出课程类的结构
iii)描述出教师与课程的关系
iv)能完成基本数据的输入与学生的选课过程,具有数据保存与读取功能

#include<malloc.h>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<conio.h>
#define LEN sizeof(struct tour_node)
struct tour_node
{ char jingdianbianhao[4];
char jingdianmingcheng[8];
float dianhua_tour;
float chengrenpiaojia_tour;
float ertongpiaojia_tour;
char lianxiren[8];
float shijian_tour;
struct tour_node *next;
};
typedef struct tour_node journey;
int menu_sel();
journey *create();
journey *add(journey *head);
journey *search(journey *head);
journey *del(journey *head);
journey *update(journey *head);
void display(journey *head);
journey *sort(journey *head);
void save(journey *head);
journey *load();
journey *head=NULL;
void input_xinxi(journey *jou);
main()
{ journey *head=NULL;
clrscr();
while(1)
{ switch(menu_sel())
{