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

正文內(nèi)容

實驗室設(shè)備管理程序-文庫吧

2025-03-23 23:07 本頁面


【正文】 r date[20]。//設(shè)備購買日期,如20090101等 struct node *next。}device,*pdevice。includeincludeincludeinclude//主函數(shù)模塊***********************************************************************void menu_main(device *head){ char choice。 while(1){ system(cls)。 print_menu_main()。 choice=getchar()。 getchar()。 if(choice==39。139。) input_info(head)。 if(choice==39。239。) search_info(head)。 if(choice==39。339。) modify_info(head)。 if(choice==39。439。) show_info(head)。 if(choice==39。539。) delete_info(head)。 if(choice==39。639。) sort_out_info(head)。 if(choice==39。739。) save_info(head)。 if(choice==39。839。) exit_system()。 }}void print_menu_main(){ printf(\n\n\t\t\t 實驗室設(shè)備管理系統(tǒng)\n)。 printf(\n\n\t\t **********************************\n)。 printf(\t\t **\t \t **\n)。 printf(\t\t **\t \t **\n)。 printf(\t\t **\t \t **\n)。 printf(\t\t **\t \t **\n)。 printf(\t\t **\t \t **\n)。 printf(\t\t **\t \t **\n)。 printf(\t\t **\t \t **\n)。 printf(\t\t **\t \t **\n)。 printf(\t\t **********************************\n)。 printf(\t\t 請選擇:)。}//輸入模塊***********************************************************************void input_info(device *head){ device *newnode。// device *lastnode=NULL。 char continue_key。 system(cls)。 newnode=(device *)malloc(sizeof(device))。 if(newnode==NULL) printf(\tallocation failed!)。 create_newnode(newnode)。 if(head==NULL)//? head=newnode。 else{ lastnode=search_lastnode(head)。 lastnodenext=newnode。 } printf(\n\t是否繼續(xù)? Y/N\n)。 printf(你的選擇:)。 continue_key=getchar()。 getchar()。 if(continue_key==39。Y39。||continue_key==39。y39。) input_info(head)。 else menu_main(head)。}void create_newnode(device* newnode){ printf(\t\t\t\t新建設(shè)備信息\n\n)。 printf(請輸入\n\n)。 printf(設(shè) 備 名 稱:)。 gets(newnodename)。 printf(\n)。 printf(設(shè) 備 編 號:)。 scanf(%d,amp。newnodeserialNum)。 getchar()。 printf(\n)。 printf(設(shè)備所在實驗室名稱:)。 gets(newnodeposition)。 printf(\n)。 printf(使 用 者 姓 名:)。 gets(newnodeuser)。 printf(\n)。 printf(設(shè) 備 價 格:)。 scanf(%lf,amp。newnodeprice)。 getchar()。 printf(\n)。 printf(設(shè) 備 種 類:)。 gets(newnodevarity)。 printf(\n)。 printf(購 買 日 期:)。 gets(newnodedate)。 newnodenext=NULL。}device* search_lastnode(device *head){ device *last=head。 if(headnext==NULL) return head。 else{ while(last!=NULL) last=lastnext。 } return last。}//查詢模塊***********************************************************************void search_info(device *head){ char t。 system(cls)。 print_menu_s
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1