运动会管理系统源代码

运动会管理系统源代码

include<stdio.h>

#include<stdlib.h>

#include<string.h>

struct student /* 定义链表 */

{

};

struct student *creat(struct student *h); /*s 输入函数 */

struct student *findstudent(struct student *h); /* 查找函数 */

struct student *sort(struct student *h); /* 排序函数 */

main()

{

printf("*************************************************************************\n"); printf("*************************************************************************\n"); printf("\t\t请输入1或2或3进行功能选择\n"); int b,c=1; struct student *head,*p,*f; /* 定义表头指针 */ head=NULL; /* 创建一个空表 */ printf("\t\t\t**********************\n"); printf("\t\t\t****运动会管理系统****\t\t\n"); printf("\t\t\t**********************\n"); do /* 循环使用系统中的功能 */ { long num; char name[10]; char danwei[10]; int xiangmu; int chengji; struct student *next; printf("\t\t输入1---------------------进行输入功能\n"); printf("\t\t输入2---------------------进行查找功能\n"); printf("\t\t输入3---------------------进行排序功能\n"); scanf("%d",&b);

switch(b) /* 进入函数 */ { case 1:head=creat(head);break; case 2:p=findstudent(head);break; case 3:f=sort(head);break;

default:printf("输入错误,请从新输入");

}

你可能喜欢

  • C语言课程设计图书管理系统
  • C语言通讯录管理系统
  • 运动会管理系统课程设计
  • 软件课程设计
  • C语言校际运动会管理系统
  • 运动会成绩管理系统
  • 系统的设计与实现
  • 田径运动会管理系统

运动会管理系统源代码相关文档

最新文档

返回顶部