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

正文內(nèi)容

車(chē)友信息管理系統(tǒng)詳細(xì)編程-資料下載頁(yè)

2024-09-10 12:12本頁(yè)面

【導(dǎo)讀】先建立四個(gè)頭文件;;;;;;;在D盤(pán)建立一個(gè)“文件.txt”即可。printf("%8s%9s%9s%9s%7s%7s%13s%7s%7s\n","會(huì)員名","昵稱(chēng)","性別","職業(yè)","駕齡","年齡。","車(chē)輛品牌","車(chē)款","顏色");if//指定好文件名,以寫(xiě)入方式打開(kāi)。\n");//若打開(kāi)失敗,輸出提示信息,退出

  

【正文】 { if((strcmp(p,s)==0)) count++。 } return count。 } struct node *countManage(struct node *head) //車(chē)友人數(shù)統(tǒng)計(jì)模塊的實(shí)現(xiàn) { int choice,all,brandcount。 char s[20]。 do { menuCount()。 printf(choice one operation you want to do:\n)。 scanf(%d,amp。choice)。 switch(choice) { case 1: printf(the number of the people is:\n)。 all=Count(head)。 printf(all=%d,all)。 printf(\n)。 break。 case 2: printf(Please input the brand will be searched:\n)。 scanf(%s,s)。 brandcount=brandCount(head,s)。 printf(brandcount=%d,brandcount)。 printf(\n)。 printf(\n)。 break。 case 0: saveFile(head)。 break。 } }while(choice)。 return head。 } struct node *searchManage(struct node *head) //根據(jù)條件查詢(xún)模塊的實(shí)現(xiàn) { int choice。 Type data。 do //用 do~ while語(yǔ)句可以多次選擇二級(jí)菜單 { menuSearch()。 printf(choice one operation you want to do:\n)。 scanf(%d,amp。choice)。 //輸入選擇項(xiàng) switch(choice) { case 1: printf(Input a VIP\39。s car\39。s brand will be searched:\n)。 scanf(%s,amp。)。 //輸入車(chē)款,將根據(jù)車(chē)款查詢(xún) SearchNode(head,data,choice)。 printf(\n)。 break。 case 2: printf(Input a VIP\39。s sex will be searched:\n)。 scanf(%s,amp。)。 //輸入性別,將根據(jù)性別查詢(xún) SearchNode(head,data,choice)。 printf(\n)。 break。 case 0: break。 } }while(choice)。 //返回二級(jí)菜單允許再次選擇二級(jí)功能 return head。 //返回頭指針 } struct node* runMain(struct node *head,int choice) //該函數(shù)受 main調(diào)用,根據(jù)選擇項(xiàng)分別調(diào)用 { //函數(shù)實(shí)現(xiàn)各模塊的功能 switch(choice) { case 1: printHead()。 //選擇 head=printList(head)。 //調(diào)用函數(shù)完成顯示車(chē)友信息的功能 break。 case 2: head=baseManage(head)。 //選擇 break。 case 3: head=countManage(head)。 //選擇 3,調(diào)用函數(shù)完成車(chē)友人數(shù)統(tǒng)計(jì)的功能 break。 case 4: head=searchManage(head)。 //選擇 4,調(diào)用函數(shù)完成根據(jù)條件查詢(xún)的功能 break。 case 0: break。 } return head。 //返回頭指針 } int main() { char d[6]。 char m[6]。 m[0]=39。839。,m[1]=39。839。,m[2]=39。039。,m[3]=39。539。,m[4]=39。039。,m[5]=39。539。 //數(shù)組比較 printf(請(qǐng)輸入六位數(shù)密碼 :)。 //輸入密碼 for (int n=0。) { for(int i=0。i6。i++) { d[i]=getch()。 if(d[i]=39。039。||d[i]=39。939。||d[i]=39。a39。||d[i]=39。z39。||d[i]=39。A39。||d[i]=39。Z39。) putchar(39。*39。)。 } if(d[0]==m[0]amp。amp。d[1]==m[1]amp。amp。d[2]==m[2]amp。amp。d[3]==m[3]amp。amp。d[4]==m[4]amp。amp。d[5]==m[5]) { printf(\n歡迎使用 !\n)。 printf(\n按任意鍵繼續(xù) \n)。 break。 } if(d[0]!=m[0]||d[1]!=m[1]||d[2]!=m[2]||d[3]!=m[3]||d[4]!=m[4]||d[5]!=m[5]) //當(dāng)密碼錯(cuò)誤時(shí)如下 printf(\n密碼錯(cuò)誤 !請(qǐng)重新輸入 :)。 if (n3) { printf(error\n)。 exit (0)。 } n++。 } struct node *head=NULL。 int choice。 head=readFile(head)。 if(!head) { createFile()。 head=readFile(head)。 } do { menu()。 printf(Please input your choice:)。 scanf(%d,amp。choice)。 if(choice=0amp。amp。choice=4) head=runMain(head,choice)。 else printf(erroe input,please input your choice again!\n)。 }while(choice)。 saveFile(head)。 return 0。 } 用的時(shí)候注意修改修改,不然大家都一樣啦
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1