freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

學(xué)生成績(jī)管理系統(tǒng)源代碼-在線瀏覽

2025-05-25 23:06本頁面
  

【正文】 3.........查找學(xué)生信息 | \n)。 printf( | 5.........插入學(xué)生信息 | \n)。 printf( | 7.........排序?qū)W生信息 | \n)。 printf( |_ _ _ _ _ _ _ _ _ _ _ _ _ | \n)。 printf(| 學(xué)號(hào) | 姓名 | 出生日期 | c成績(jī) |數(shù)據(jù)結(jié)構(gòu)成績(jī) |\n)。 } struct student *print_table_row(struct student *p) { printf(|%10d|%10s|%10s|%10d|%10d|\n,pnum,pname,pbirthday,pCyuyan,pshujujiegou)。 } struct student * Creat_stu_record() //建立鏈表 { struct student *plaststu=NULL,*pnewstu。N39。 while(1) { if(head==NULL) { head=creat_by_input()。 print_table_row(head)。 } else { pnewstu=creat_by_input()。 print_table_row(pnewstu)。 plaststu=get_last_student(head)。} printf(是否繼續(xù)輸入學(xué)生信息?(Y 繼續(xù),N 返回菜單)\n)。 continue_input=getchar()。n39。N39。 Print_menu_main()。 } } return head。 printf(請(qǐng)輸入學(xué)生信息\n)。scanf(%d,amp。 printf(姓名:)。 printf(出生年月:)。 printf(請(qǐng)輸入學(xué)生成績(jī)\n)。scanf(%d,amp。 printf(數(shù)據(jù)結(jié)構(gòu):)。(pnewstushujujiegou))。 return pnewstu。 else return get_last_student(pnext)。 char r。 if(head==NULL) { printf(\n No Records\n)。p。 printf(++++++\n)。 getchar()。 if(r!=39。) { system(cls)。 } else { system(cls)。 } }struct student *search_by_name(struct student *head)//按姓名查找{ char name[10]。 char continue_input。*/ printf(請(qǐng)輸入要查找的姓名:)。 printf(查找%s\n,name)。 while(p!=NULL) { if(strcmp(pname,name)==0) { print_table_row(p)。 /* isfound=1。 } p=pnext。 printf(是否繼續(xù)查找?(Y 繼續(xù);N 返回主菜單)\n)。 continue_input=getchar()。n39。N39。 Print_menu_main()。}struct student * search_by_id(struct student *head)//按學(xué)號(hào)查找{ int id。 char continue_input。*/ printf(請(qǐng)輸入要查找的學(xué)號(hào):)。id)。 print_table_head()。 p=pnext。*/ break。 } print_table_bottom()。 getchar()。 if(continue_input==39。||continue_input==39。) { system(cls)。 } else search_by_id(head)。} struct student*modify_record_by_id(struct student*head)//按學(xué)號(hào)修改{ struct student *p=head。 char continue_input。 scanf(%d,amp。 while(p!=NULL) { if(pnum==id) break。 } if(p==NULL) printf(抱歉,沒有學(xué)號(hào)為%d的學(xué)生\n,id)。 printf(學(xué)號(hào):)。(pnum))。scanf(%s,amp。 printf(出生年月:)。(pbirthday))。 printf(C語言:)。(pCyuyan))。scanf(%d,amp。 print_table_head()。print_table_bottom()。 getchar()。 if(continue_input==39。||continue_input==39。) creat_by_input()。 Print_menu_main()。}struct student*modify_record_by_name(struct student*head)//按姓名修改{ struct student*p=head。 char continue_input。 scanf(%s,name)。 p=pnext。 else { printf(請(qǐng)輸入學(xué)生信息:\n)。scanf(%d,amp。 printf(姓名:)。(pname))。scanf(%s,amp。 printf(請(qǐng)輸入學(xué)生成績(jī):\n)。scanf(%d,amp。 printf(數(shù)據(jù)結(jié)構(gòu):)。(pshujujiegou))。print_table_row(p)。} printf(繼續(xù)修改學(xué)生信息嗎?Y 繼續(xù);N 返回主菜單\n)。 continue_input=getchar()。y39。Y39。 else { system(cls)。 } return head。 struct student *ptr,*stud。 char continue_input=39。 int id。 scanf(%d,amp。 stud=creat_by_input()。 if(head==NULL) { head=ptr。 } else if(headnum==id) { ptrnext=head。 } else { while(ptr2!=NULL) { ptr1=ptr2。 if(ptr2num==id) { ptr1next=ptr。 break。 print_table_row(ptr)。 printf(是否繼續(xù)插入學(xué)生信息?(Y 繼續(xù) N 返回主菜單)\n)。 continue_input=getchar()。y39。Y39。 else { system(cls)。 return head。 int id。 p
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1