电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

学生成绩管理系统源代码样本

学生成绩管理系统源代码样本_第1页
1/25
学生成绩管理系统源代码样本_第2页
2/25
学生成绩管理系统源代码样本_第3页
3/25
下载后可任意编辑#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();print_table_row(head);print_table_bottom();}else {pnewstu=creat_by_input();print_table_head();下载后可任意编辑print_table_row(pnewstu);print_table_bottom();plaststu=get_last_student(head);plaststu->next=pnewstu;}printf("是否继续输入学生信息? (Y 继续, N 返回菜单)\n");getchar();continue_input=getchar();if(continue_input=='n'||continue_input=='N') {system("...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

学生成绩管理系统源代码样本

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部