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

正文內(nèi)容

最新c語言課程設計學生宿舍管理系統(tǒng)終稿-資料下載頁

2025-04-07 23:13本頁面
  

【正文】 by number\n\n)。 printf( by dormitary\n\n)。 printf( by floor\n\n)。 printf( by building\n\n)。 printf( the main menu\n\n)。 printf( Please choice(04):)。 scanf(%d,amp。choice)。 switch(choice) { case 1:sort_num()。output(h)。break。 /*調(diào)用output_message()使排好的數(shù)據(jù)輸出*/ case 2:sort_dormitary()。output(h)。break。 case 3:sort_floor()。output(h)。break。 case 4:sort_building()。output(h)。break。 case 0:break。 } }while(choice!=0)。}/*按宿舍號統(tǒng)計*/count_dormitary(){ char v。 struct stud *p。 int dor。 int i=0。 system(cls)。 printf(\n\nPlease input the dormitary what you want to count:\n)。 scanf(%d,amp。dor)。 system(cls)。 printf(\n\n*************************Count by dormitary***********************************\n)。 printf(\n\nnumber name sex age major grade class building floor dormitary\n\n)。 p=h。 while(p!=NULL) { if(pdormitary==dor) { printf(%6d%7s%7s%6d%8s%8d%8d%10d%7d%11d\n,pnum,pname,psex,page,pmajor,pgrade,pclasses,pbuilding,pfloor,pdormitary)。 i++。 } p=pnext。 } printf(\nThe total:%d,i)。 fflush(stdin)。 printf(\n\n\n\n\ press any key to the main meue!!!!\n)。 v=getchar()。 return。}/*按樓層統(tǒng)計*/count_floor(){ char v。 struct stud *p。 int flo。 int i=0。 system(cls)。 printf(\n\nPlease input the floor what you want to count:\n)。 scanf(%d,amp。flo)。 system(cls)。 printf(\n\n*******************************Count by floor********************************\n)。 printf(\n\nnumber name sex age major grade class building floor dormitary\n\n)。 p=h。 while(p!=NULL) { if(pfloor==flo) { printf(%6d%7s%7s%6d%8s%8d%8d%10d%7d%11d\n,pnum,pname,psex,page,pmajor,pgrade,pclasses,pbuilding,pfloor,pdormitary)。 i++。 } p=pnext。 } printf(\nThe total:%d,i)。 fflush(stdin)。 printf(\n\n\n\n\ press any key to the main meue!!!!\n)。 v=getchar()。 return。}/*按宿舍樓統(tǒng)計*/count_building(){ char v。 struct stud *p。 int bui。 int i=0。 system(cls)。 printf(\n\nPlease input the building what you want to count:\n)。 scanf(%d,amp。bui)。 system(cls)。 printf(\n\n*******************************Count by building********************************\n)。 printf(\n\nnumber name sex age major grade class building floor dormitary\n\n)。 p=h。 while(p!=NULL) { if(pbuilding==bui) { printf(%6d%7s%7s%6d%8s%8d%8d%10d%7d%11d\n,pnum,pname,psex,page,pmajor,pgrade,pclasses,pbuilding,pfloor,pdormitary)。 i++。 } p=pnext。 } printf(\nThe total:%d,i)。 fflush(stdin)。 printf(\n\n\n\n\ press any key to the main meue!!!!\n)。 v=getchar()。 return。}/*統(tǒng)計模塊*/count_message(){ int choice。 do { system(cls)。 printf(\n\n\n ~~~~~~~~39。Count message~~~~~~~~\n\n)。 printf( by dormitary\n\n)。 printf( by floor\n\n)。 printf( by building\n\n)。 printf( the main menu\n\n)。 printf( Please choice(03):)。 scanf(%d,amp。choice)。 switch(choice) { case 1:count_dormitary()。break。 case 2:count_floor()。break。 case 3:count_building()。break。 case 0:break。 } }while(choice!=0)。}/*保存信息*/save_message(struct stud *h){ char v。 FILE *p。 struct stud *f。 f=h。 if((fp=fopen(,wb))==NULL) { printf(\nCann39。t open the file!)。 return。 } while(h!=NULL) { if(fwrite(h,N,1,fp)!=1) { printf( Writing the file is error!\n)。 return。 } h=hnext。 } h=f。 printf(\n\n saving!!)。 fflush(stdin)。 printf(\n\n\n\n\ press any key to the main meue!!!!\n)。 v=getchar()。 fclose(fp)。 return。}/*主函數(shù)*/main(){ int choice。 int key。 printf(Please input the right key:\n)。 scanf(%d,amp。key)。 if(key==0) { read_message()。 do { system(cls)。 printf(\n\n\n ~~~~~~~XUE SHENG GONG YU GUAN LI XI TONG ~~~~~~~\n\n)。 printf( student information\n\n)。 printf( student information\n\n)。 printf( student information\n\n)。 printf( student information\n\n)。 printf( student information\n\n)。 printf( student information\n\n)。 printf( the system\n\n)。 printf( **************************************************\n\n)。 printf( Please choice(06):)。 scanf(%d,amp。choice)。 switch(choice) { case 1:input_message()。break。 case 2:output_message(h)。break。 case 3:renew_message()。break。 case 4:inquire_message()。break。 case 5:sort_message()。break。 case 6:count_message()。break。 case 0:break。 } }while(choice!=0)。 save_message(h)。 /*退出程序時對數(shù)據(jù)進行保存*/ }}
點擊復制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1