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

正文內(nèi)容

c++課程設(shè)計---實驗室設(shè)備管理系統(tǒng)(文件)

2025-02-28 07:54 上一頁面

下一頁面
 

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