c语言实现学生信息管理系统.docxVIP

  • 5
  • 0
  • 约6.15千字
  • 约 8页
  • 2019-09-14 发布于广东
  • 举报
以下是用C语言实现的学生信息管理系统,经过运行检验无误。可以新建学生信息,可以 实现学生信息的增删改查,可以输出所有学生信息。其中查询学生信息可以根据编号,姓 名,班级查询。 基本上用到了 C语言中数组,指针,函数,结构体等所有内容。 #inelude stdio.h #include string.h #include malloc.h #inelude vconio.h #include stdlib.h #define MAXSIZE 100 typedef struct { char num[10];/*编号*/ char name[15];/*姓名*/ char gender⑸;/*性别*/ char squad[10];/* 班级 */ char dorm[20];/* 寝室 */ char mail[50];/*邮箱*/ } DataType;/*将DataType映射成int类型的,这里的DataType相当于int,代码为typedef DataType int*/ typedef struct { DataType stu[MAXSIZE]; int length; } seque nlist; int menu_select() int sn; printf(H\n 学生信息管理系统\n“); 二=\n“); printfC 1.学生信息表的建立\n“);

文档评论(0)

1亿VIP精品文档

相关文档