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

正文內(nèi)容

c課程設(shè)計(jì)---實(shí)驗(yàn)室設(shè)備管理系統(tǒng)(參考版)

2025-02-13 07:54本頁(yè)面
  

【正文】 } 。 ()。 //清除屏幕 ()。 while(1) { cini。 cout歡迎來(lái)到實(shí)驗(yàn)室設(shè)備管理系統(tǒng) :endl。939。 } } int main() { Shebei c。 break。039。 break。739。 28 break。639。 break。539。 break。439。 break。339。 break。239。 break。139。 cout請(qǐng)選擇: 。 cout****************操作完成 *********************endl。 cout\t\t**************************************************endl。 cout\t\t* *endl。 cout\t\t* *endl。 cout\t\t* *endl。 cout\t\t* *endl。 cout\t\t* *endl。 cout\t\t* *endl。 cout\t\t* *endl。 cout\t\t* *endl。 } void Shebei::showMenu() cout\t\t**************************************************endl。 system(pause)。) ShebeiSave()。||s==39。 if(s==39。 if(k) //判斷數(shù)據(jù)是否修改 { cout數(shù)據(jù)已經(jīng)改變,是否保存? (y/n): 。 } } void Shebei::Exit() { char s=39。 } k=false。 else { while(p) { outfilepid pname ptype psuoshushiyanshi pbuytime pprice pamount pshengchanriqi pweight endl。 ofstream outfile()。 } ()。 infilepweight 。 infilepamount 。 infilepbuytime 。 //讀取名稱 infileptype 。 pid=nid。 if(!infile) cerr錯(cuò)誤:數(shù)據(jù)文件不能打開(kāi) !\n。 long nid。 else ()。 } else//指針值為 NULL 時(shí) cout沒(méi)有找到編號(hào)為 n的設(shè)備記錄! endl。 cout請(qǐng)輸入設(shè)備重量: 。 cout請(qǐng)輸入生產(chǎn)日期: 。 cout請(qǐng)輸入庫(kù)存量: 。 cout請(qǐng)輸入價(jià)格: 。 cout請(qǐng)輸入購(gòu)買(mǎi)時(shí)間: 。 cout請(qǐng)輸入所屬實(shí)驗(yàn)室: 。 24 cout請(qǐng)輸入類型: 。 cout請(qǐng)輸入名稱: 。 cout請(qǐng)輸入設(shè)備編號(hào): 。 cout重量 :pweightendl。 cout生產(chǎn)日期 :pshengchanriqiendl。 cout價(jià)格 :ppriceendl。 cout所屬實(shí)驗(yàn)室 :psuoshushiyanshiendl。 cout名稱 :pnameendl。 p=(n)。 else { cout請(qǐng)輸入要修改設(shè)備的編號(hào): 。 Node *p。 } 23 else//指針值為 NULL 時(shí) cout沒(méi)有找到編號(hào)為 n的設(shè)備記錄! endl。 cout使用壽命 :pshiyongshoumingendl。 cout庫(kù)存量 :pamountendl。 cout購(gòu) 買(mǎi)時(shí)間 :pbuytimeendl。 cout類型 :ptypeendl。//獲得找到的結(jié)點(diǎn)的指針 if(p) //指針值不為 NULL 時(shí) { cout實(shí)驗(yàn)設(shè)備編號(hào) :pidendl。 cinn。 if(())//鏈表為空的情況 cout沒(méi)有設(shè)備記錄! endl。 } } void Shebei::ShebeiFind() //查找某編號(hào)的設(shè)備記錄 { long n。 k=true。 22 cini。 if(())//鏈表為空的情況 cout沒(méi)有設(shè)備記錄! endl。 } else cout設(shè)備編號(hào)為 pid的的設(shè)備已存在,插入失??! endl。 if(!(pid)) //判斷設(shè)備信息是否存在 { (p)。 cout請(qǐng)輸入設(shè)備重量: 。 cout請(qǐng)輸入生產(chǎn)日期: 。 cout請(qǐng)輸入庫(kù)存量: 。 cout請(qǐng)輸入價(jià)格: 。 cout請(qǐng)輸入購(gòu)買(mǎi)時(shí)間: 。 cout請(qǐng)輸入所屬實(shí)驗(yàn)室: 。 cout請(qǐng)輸入類型: 。 cout請(qǐng)輸入名稱: 。 21 cout請(qǐng)輸入設(shè)備編號(hào): 。 cout成功清空設(shè)備信息記錄! endl。//從文件中讀取數(shù)據(jù),創(chuàng)建鏈表 k=false。 Shebei::Shebei() { Link()。//顯示操作提示 void doMenu(char n)。//退出程序 void showMenu()。 void ShebeiSave()。 void ShebeiView()。 void ShebeiFind()。 void ShebeiInsert()。//記錄數(shù)據(jù)是否被修改 public: Shebei()。 } //類 Sheb
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1