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

正文內(nèi)容

c超市商品管理系統(tǒng)課程設(shè)計報告-文庫吧資料

2024-08-20 03:33本頁面
  

【正文】 nsigned int i = 0。} sort((), ())。 = something[i]Get_Num()。 i++) { = something[i]Get_Name()。 for(unsigned int i = 0。 item temp。 cout \n\t\t。 統(tǒng)計商品代碼解釋void System::Statistics(){ cout\n\t\endl。 return 1。 if(a != 1) something[a]Show()。 cinname。 int a。 查詢商品代碼解釋int System::Find(){ string kind = Ask()。 return 1。 something[a]Set_Num(num)。} if(choice == 2) { cout\n\t\t請輸入修改庫存為: 。 cinprice。 cinchoice。 cout\n\t\endl。 int num。 if(a != 1) { int choice。 cinname。 int a。 修改商品代碼解釋int System::Modefied(){ string kind = Ask()。//不存在該商品.. return 1。 if(a != 1) (() + a)。 cinname。 int a。 刪除商品代碼解釋int System::Delect(){ string kind = Ask()。 return 1。 else return 0。 a = Have(tempGet_Kind(), tempGet_Name())。 if(kind == 化妝品) temp = new Cosmetics。 if(kind == 飲料) temp = new Drink。 string kind = Ask()。 添加商品代碼解釋int System::Add(){ Goods *temp。//不存在 return 1。//超過庫存量。 coutbuy_num * something[a]Get_Price() 元endl。 if(buy_num = something[a]Get_Num()) { something[a]Set_Num(something[a]Get_Num() buy_num)。 cout\n\t\t請輸入購買數(shù)量: 。 if(a != 1)//代表商品存在、則需要填購買數(shù)量、并從倉庫中減去已被購買的貨物。 cinname。 string name。 購買商品代碼解釋int System::Buy(){ string kind = Ask()。}。 string Ask()。//查找倉庫中是否有此商品. void Write()。//統(tǒng)計. int Find()。//刪除 int Modefied()。//購買 int Add()。class System{public: void Star()。G1, const item amp。}。 double price。其流程圖如下:選擇種類種類類 輸入商品名稱、數(shù)量購買商品輸出商品信息、金額購買結(jié)束 商品購買操作流程圖 添加商品程序算法其流程圖如下:添加商品選擇種類種類類 輸入商品名稱、價格、庫存、品牌、廠家添加成功 商品添加操作流程圖 修改商品程序算法其流程圖如下:修改商品選擇種類種類類 修改成功輸入修改商品名稱選擇修改項種類類輸入修改量 商品修改操作流程圖 統(tǒng)計商品程序算法其流程圖如下:統(tǒng)計商品選擇種類種類類 選擇統(tǒng)計項種類類 輸入統(tǒng)計項量統(tǒng)計結(jié)束輸出統(tǒng)計信息 商品統(tǒng)計功能流程圖 3 軟件的實現(xiàn) 主系統(tǒng)頭文件和基類的定義ifndef SYSTEM_H_define SYSTEM_H_include include include include include include vectorinclude stringusing namespace std。 ()。 i ()。 out ()endl。}//寫入文件void System::Write(){ ofstream out。 (temp)。 i++) { temp = new Goods。 for(int i = 0。 ()。 Goods *temp。 類的設(shè)計關(guān)系商品基類食品類飲料類
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1