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

正文內(nèi)容

c++課程設(shè)計(jì)-倉(cāng)庫(kù)管理系統(tǒng)報(bào)告(文件)

 

【正文】 ase 39。 case 39。 21 case 39。 } } } //按商品名稱查詢 void mana::select_name() { system(cls)。 cinname。//倉(cāng)庫(kù)編號(hào) string kinds1。 if(!storeFile) { cout\n\n\t 對(duì)不起,你的庫(kù)存為空?? \n\n\t。 cout\n 商品名 價(jià)格 商品數(shù)量 倉(cāng)庫(kù)編號(hào) 商品大類(lèi) 貨架號(hào) \nendl。 if(!flag) cout\n\n 對(duì)不起,庫(kù)存中沒(méi)有這個(gè)商品?? 。 cout\n\t 按商品價(jià)格查詢: endl。 string name1。//商品大類(lèi) string shelfNo1。 system(pause)。 while(storeFilename1price1count1storeNo1kinds1shelfNo1) { if(price1==price) { flag=true。 cout\nendl。 cout\n\t 輸入大類(lèi)名: 。//商品名 double price1。//貨架號(hào) long count1=0。 return。 coutsetiosflags(ios::left)setw(15)name1 setw(10)price1 setw(10)count1 setw(10)storeNo1 setw(15)kinds1 shelfNo1endl。 system(pause)。 cout\n\t 商品名稱: 。 ()。 } bool flag=false。//商品大類(lèi) string shelfNo1。//倉(cāng)庫(kù)編號(hào) cout\nendl。 while(storeFilename1price1count1storeNo1kinds1shelfNo1) { if(name1==name) { flag=true。 } ()。 system(pause)。 storeFile1()。 cout\nendl。 } int main() { char select。:()。:()。:()。:()。:cout\t 謝謝使用 \n\n\t\t。 } } return 0。break。 case 39。 case 39。 case 39。 case 39。 while(select=()) { switch(select) { case 39。 cout\nendl。 ()。 } ofstream storeFile1()。 25 if(!flag) { cout\n\n 對(duì)不起,倉(cāng)庫(kù)中沒(méi)有這個(gè)商品?? 。 shelfNo1+=(損壞 )。 cout\nendl。//商品數(shù)量 ofstream tempFile()。//商品名 double price1。 system(pause)。 ifstream storeFile()。 24 string name。 if(!flag) cout\n\n 對(duì)不起,庫(kù)存中沒(méi)有這類(lèi)商品?? 。 cout\n 商品名 價(jià)格 商品數(shù)量 倉(cāng)庫(kù)編號(hào) 商品大類(lèi) 貨架號(hào) \nendl。 if(!storeFile) { cout\n\n\t 對(duì)不起,你的庫(kù)存為空?? \n\n\t。//倉(cāng)庫(kù)編號(hào) string kinds1。 cinkinds。 } //按大類(lèi)查詢 23 void mana::select_kind() { system(cls)。 } } ()。 } bool flag=false。//商品數(shù)量 ifstream storeFile()。//價(jià)格 string storeNo1。 double price。 22 system(pause)。 coutsetiosflags(ios::left)setw(15)name1 setw(10)price1 setw(10)count1 setw(10)storeNo1 setw(15)kinds1 shelfNo1endl。 return。//貨架號(hào) long count1=0。//商品名 double price1。 cout\n\t 輸入商品名: 。:return。:select_kind()。:select_price()。:select_name()。 cout\n\t\t。 system(pause)。 storeFile1()。 system(pause)。 else { tempFilesetiosflags(ios::left)setw(20)name1 setw(15)price1 setw(10)count1 setw(10)storeNo1 setw(20)kinds1 shelfNo1endl。//商品大類(lèi) string shelfNo1。//布爾型枚舉類(lèi),只有一個(gè)字節(jié),取值 true 或 false( 1 或 0) string name1。 cout\n\n\t 庫(kù)存為空?? \n\n\t。 cinname。//系統(tǒng)暫停 } // 出庫(kù) void mana::out_storage() { system(cls)。 storeFilesetiosflags(ios::left)setw(20)name setw(15)price setw(10)count setw(10) storeNo setw(20)kinds shelfNoendl。 cinkinds。 cincount。 cinname。//貨架號(hào) long count=0。//商品名 double price。 cout\n\n\t\t。//商品 大類(lèi) shelfNo=xxx。//商品名 price=。 shelf ashelf。//按商品名稱查詢 void select_price()。//首頁(yè) void in_storage()。//所屬貨架 long count。 //electrical class class ele { public: ele()。//管理員 string storeNo。 private: string name。 通過(guò)學(xué)生的分組設(shè)計(jì), 使學(xué)生能夠基本掌握 C++程序設(shè)計(jì)的方法,并且在此基礎(chǔ)上掌握類(lèi)的構(gòu)造方法,明確類(lèi)中構(gòu)造函數(shù)、成員函數(shù)的建立以及調(diào)用,此外,并且,結(jié)合 C++中,字符串函數(shù)的編譯系統(tǒng)給定的庫(kù)函數(shù),采用一定的邏輯編譯,實(shí)現(xiàn)題目中要求的各項(xiàng)要求,達(dá)到基本實(shí)驗(yàn)?zāi)傅?,提高自己?C++語(yǔ)言使用水平。這一點(diǎn)我覺(jué)得在今后的程序設(shè)計(jì)中也是蠻重要的,因?yàn)槲野l(fā)現(xiàn)要寫(xiě)出好程序,首先應(yīng)該去學(xué)習(xí)人家的程序,看懂他們的程序并且轉(zhuǎn)化為自己的。 從一開(kāi)始我就從圖書(shū)館借閱了不少的 其他相關(guān)的 c++資料, 這些都是很寶貴的參看資料,可以說(shuō)給我最后順利的完成程序的編寫(xiě)打下了很扎實(shí)的基礎(chǔ)。//商品大類(lèi) shelfNo=xxx。//商品名 price=。 shelf ashelf。//按商品名稱查詢 void select_price()。//首頁(yè) void in_storage()。//所屬貨架 long count。 四、 電器 類(lèi) class ele { public: 7 ele()。//管理員 string storeNo。 private: string name。//商品大類(lèi) string shelfNo。 class she
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1