- 3
- 0
- 约1.23万字
- 约 13页
- 2020-06-30 发布于安徽
- 举报
学生成绩统计管理系统
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);
您可能关注的文档
- A.1 土(石)方工程 作业.doc
- ADAMS仿真作业说明书.doc
- Ansys Workbench界面命令说明书.doc
- A级防火发泡水泥保温板地施工方案设计.doc
- C、铸造—2012—问题详解.doc
- C++学生成绩统计管理系统.doc
- CAD操作快捷键大全.doc
- CAD电脑导图软件说明书.doc
- CST STUDIO SUITE 2014波导端口概述.doc
- FIR滤波器地设计.doc
- (43页PPT)三菱翼神致尚版大众媒体试驾活动规划案.ppt
- (51页PPT)国某著名企业企业信息化规划IT架构规划.ppt
- (42页PPT)南昌青山湖龙湖天街中秋节&两典国潮主题活动策划方案.pptx
- (42页PPT)华为普元公司数据治理联合解决方案.pptx
- (29页PPT)智能化自动化成就智慧运维北塔BTSO智慧运维平台.pptx
- (37页PPT)某省市智慧交通初步解决方案.pptx
- (44页PPT)企业园区AI应用解决方案.pptx
- (44页PPT)智慧排水在智慧水利中的应用建设方案.pptx
- (45页PPT)华为某省市解决方案汇报.pptx
- (44页PPT)县域农业大数据运营服务中心方案介绍.pptx
原创力文档

文档评论(0)