1 / 19
文档名称:

学生成绩管理系统源代码.doc

格式:doc   大小:53KB   页数:19页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

学生成绩管理系统源代码.doc

上传人:allap 2021/8/30 文件大小:53 KB

下载得到文件列表

学生成绩管理系统源代码.doc

文档介绍

文档介绍:#include <>
#include <>
#include <>
#include <>
struct student //结构体定义
{
int num;
char name[10];
char birthday[10];
int Cyuyan;
int shujujiegou;
struct student *next;
};

struct student *creat_by_input();
struct student *get_last_student(struct student *head);
struct student *Print_menu_main() //主菜单
{
printf(" *********************************************************************\n");
printf(" | 1.........输入学生信息 | \n");
printf(" | 2.........输出学生信息 | \n");
printf(" | 3.........查找学生信息 | \n");
printf(" | 4.........修改学生信息 | \n");
printf(" | 5.........插入学生信息 | \n");
printf(" | 6.........删除学生信息 | \n");
printf(" | 7.........排序学生信息 | \n");
printf(" | 0.........退出系统 | \n");
printf(" |_ _ _ _ _ _ _ _ _ _ _ _ _ | \n");
}
struct student *print_table_head()
{
printf("+----------+----------+----------+----------+-------------+\n");
printf("| 学号 | 姓名 | 出生日期 | c成绩 |数据结构成绩 |\n");
printf("+----------+----------+----------+----------+-------------+\n");
}

struct student *print_table_row(struct student *p)
{
printf("|%10d|%10s|%10s|%10d|%10d|\n",p->num,p->name,p->birthday,p->Cyuyan,p->shujujiegou);
}

void print_table_bottom()
{
printf("+----------+----------+----------+----------+-------------+\n");
}

struct student * Creat_stu_record() //建立链表
{
struct student *plaststu=NULL,*pnewstu;
char continue_input='N';
struct student *head=NULL;
while(1)
{
if(head==NULL)
{
head=creat_by_input();
print_table_head();
pr