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

正文內(nèi)容

手機(jī)管理系統(tǒng)課程設(shè)計(jì)-資料下載頁

2025-06-06 00:23本頁面
  

【正文】 pe)。 printf(\n輸入手機(jī)的外觀設(shè)計(jì) :)。 scanf(%s,amp。pho[now].surface)。 printf(\n輸入手機(jī)的網(wǎng)絡(luò)類型 :)。 scanf(%s,amp。pho[now].work)。 printf(\n輸入手機(jī)的系統(tǒng) :)。 scanf(%s,amp。pho[now].system)。 printf(\n輸入手機(jī)的 CPU類型 :)。 scanf(%s,amp。pho[now].CPUtype)。 printf(\n輸入手機(jī)的價(jià)格 :)。 scanf(%S,amp。pho[now].price)。 if(now=max) { printf(\n\n\n\t\t存儲空間已滿無法繼續(xù)添加 !!!\n\n)。 break。 } printf(\n\t\t\t是否繼續(xù)添加 ?(Y/N))。 getchar()。 ch=getchar()。 if(ch==39。N39。||ch==39。n39。)。break。} now=max。 save()。 } void read()/*從磁盤讀入函數(shù) */ {FILE *fp。 int i。 if((fp=fopen(,r))==NULL) {(can not open file \n)。 exit(0)。} for(i=0。inow。i++) fread(amp。pho[i],sizeof(struct phone),1,fp)。 fclose(fp)。 } void shuchu(int n)/*輸出第 n個(gè)手機(jī)信息的函數(shù) */ { FILE *fp。/*fp為文件指針 */ if((fp=fopen(,r))==NULL) {(can not open file \n)。 exit(0)。} printf(第 %d個(gè)手機(jī)信息 :\n,n)。 printf(\n\t手機(jī)編號 \t品牌 \t\t手機(jī)類型 \t外觀 設(shè)計(jì) \n)。 printf(\n\t%s\t\t%s\t\t%s\t\t%s\n,pho[n].num,pho[n].name,pho[n].type,pho[n].surface)。 printf(\n\t網(wǎng)絡(luò)摸式 \t操作系統(tǒng) \tCPU型號 \t\t價(jià)格 \n)。 printf(\n\t%s\t\t%s\t\t%s\t\t%s\n,pho[n].work,pho[n].system,pho[n].CPUtype,pho[n].price)。 printf(\n)。} void save()/*文件保存函數(shù) */ { FILE *fp。/*fp為文件指針 */ int i。 if((fp=fopen(,w))==NULL) {(can not open file \n)。 return。 } for(i=0。inow。i++) if(fwrite(amp。pho[i],sizeof(struct phone),1,fp)!=1) printf(\n\n\t\t\t文件保存錯(cuò)誤 !!!)。 fclose(fp)。 } int openfile() //打開文件函數(shù) { int i。 FILE *fp。 //定義一個(gè)文件指針 if((fp=fopen(,r))==NULL)//打開輸出文件并使 fp指向此文件 { printf(\n\t\t文件打開失敗 !!!)。 printf(\n\t\t按任意鍵返回主菜單 :\n\n)。 getch()。 system(cls)。 return 1。 } for(i=0。!feof(fp)。i++) fread(amp。pho[i],sizeof(struct phone),1,fp)。 fclose(fp)。 return i1。 }
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1