C语言大数据库-学生成绩统计管理系统.docVIP

  • 3
  • 0
  • 约1.23万字
  • 约 13页
  • 2020-06-30 发布于安徽
  • 举报

C语言大数据库-学生成绩统计管理系统.doc

学生成绩统计管理系统 C语言数据结构课程作品 指导老师: 学生: 学号: 班级: 一、代码 #include stdafx.h #include stdio.h #include malloc.h #include memory.h #include string.h #include conio.h #include stdlib.h #include windows.h struct grade { int score; struct grade *next; }; /*定义成绩的结构*/ struct address{ char stu_num[4]; /*学号*/ char hname[10]; /*性别*/ char ename[20]; /**/ char depart[30]; /*系别*/ char paddress[30]; /*地址*/ char phone[13] /*联系*/; struct grade *head; struct address *next; } ; void loaddata (struct address **had); void printm (struct address *head); struct address * seek (struct address *head); void revise (struct address *hp); void delate (struct address **head); void saveda (struct address *tou ); void addnew (struct address **had ); void moveg (int i,struct grade **move); void gotoxy(int x,int y); void sortp(struct address **head); int main ( void ) { char ch; int c; struct address *head=NULL; loaddata(head); do { system(cls); printf( \n); printf(学生信息与成绩统计:\n); printf( 岳鹏程制作\n); printf( ===============================================\n); printf(‖ Menu: ‖\n); printf(‖ 1:print all the personal information. ‖\n); printf(‖ 2:insert some or one person. ‖\n); printf(‖ 3:revire some information. ‖\n); printf(‖ 4:delate some information or a person. ‖\n); printf(‖ 5:exit. ‖\n); printf( ===============================================\n); printf(\tInput :); do { scanf(%d,c); getchar( ); }while(c0||c6); switch ( c ) { case 1: printm(head); break; case 2: addnew(head);

文档评论(0)

1亿VIP精品文档

相关文档