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

正文內(nèi)容

商品管理系統(tǒng)項(xiàng)目實(shí)訓(xùn)報(bào)告(編輯修改稿)

2024-11-12 09:52 本頁面
 

【文章內(nèi)容簡介】 \n endl。 cout 按任意鍵 繼續(xù)。 endl。 _getch()。 return 。 } } while(p) { if(pnum == num) { cout \t 找到要?jiǎng)h除的商品信息 endl。 pdisplay()。 cout \t 是否要?jiǎng)h除該信息【 Y/N】【 y/n】 : 。 cin ch。 if(ch== 39。y39。|| ch == 39。Y39。) { formernext = pnext。 delete p。 n。 cout \n\t*********************** endl。 cout \t*** 刪除成功 ! *** endl。 cout \t***********************\n endl。 cout 按任意鍵繼續(xù)。 endl。 _getch()。 return 。 } else { cout \n\t*********************** endl。 cout \t*** 刪除失敗 ! *** endl。 cout \t***********************\n endl。 cout 按任意鍵繼續(xù)。 endl。 _getch()。 return 。 } } former = p。 p = pnext。 } if(!p) { cout \t 不存在該條形碼的商品! endl。 cout \t 刪除失??! endl。 cout 按任意鍵繼續(xù)。 endl。 _getch()。 return 。 } } void Supermarket::Modify() //修改商品 { if(phead == NULL) { cout \t 暫無商品信息! endl。 cout \t 請?zhí)砑由唐沸畔? endl。 cout 按任意鍵繼續(xù)。 endl。 _getch()。 return 。 } string num。 Goods *p。 p = NULL。 cout \t 請輸入要修改的商品條形碼 : 。 cin num。 p = SearchNum(num)。 if(p) { cout \t 查找成功 ! endl。 cout \t**************************************** endl。 cout \t** 請輸入該條形碼商品的新信息 ** endl。 cout \t**************************************** endl。 cout \t 商品進(jìn)價(jià) : 。 cinppricein。 cout \t 商品售價(jià) : 。 cinppriceout。 cout \t 商品庫存數(shù)量 : 。 cinpcount。 cout \n\t*********************** endl。 cout \t*** 修改成功 ! *** endl。 cout \t***********************\n endl。 cout 按任意鍵繼續(xù)。 endl。 _getch()。 } else { cout \n\t********************************* endl。 cout \t*** 不存在該條形碼的商品 ! *** endl。 cout \t*** 修改失敗 ! *** endl。 cout \t*********************************\n endl。 cout 按任意鍵繼續(xù)。 endl。 _getch()。 } } void Supermarket::Query() //顯示商品 { Goods *p。 if(phead == NULL) { cout \n\t************************* endl。 cout \t*** 暫無商品信息 ! *** endl。 cout \t*** 請?zhí)砑由唐沸畔?! *** endl。 cout \t*************************\n endl。 cout 按任意鍵繼續(xù)。 endl。 _getch()。 return 。 } cout *************************** endl。 cout ** 共有 n 種商品 ** endl。 cout *************************** endl。 cout endl。 p = phead。 while(p) { pdisplay()。 p = pnext。 } cout \n\t*********************** endl。 cout \t*** 顯示成功 ! *** endl。 cout \t***********************\n endl。 cout 按任意鍵繼續(xù)。 endl。 _getch()。 } void Supermarket::Sale() //出售商品 { string num。 int count。 Goods *p。 p = NULL。 cout \t 出售商品的條形碼 :。 cinnum。 cout \t 出售商品數(shù)量 :。 cin count。 p = SearchNum(num)。 if(p) { if(pcount = count) { cout \t******************************* endl。 cout \t 該商品倉庫余量 : pcount endl。 psale_count = count。 cout \t 已出售數(shù)量 : psale_count。 pcount = pcount count。 cout \t 商品剩余 : pcount endl。 psale_profit = pprofit * psale_count。 cout \t 盈利 : psale_profit 元 endl。 cout \t******************************* endl。 cout \n\t*********************** endl。 cout \t*** 交易完成 ! *** endl。 cout \t***********************\n endl。 pdisplay()。 cout 按任意鍵繼續(xù)。 endl。 _getch()。 return 。 } else { cout \n\t*********************************** endl。 cout \t*** 已找到該商品的條形碼 ! *** endl。 cout \t*** 余量不足,請清點(diǎn)倉庫庫存 ! *** endl。 cout \t***********************************\n endl。 _getch()。 return 。 } } else { cout \n\t*********************************** endl。 cout \t*** 系統(tǒng)未記錄該條形碼的商品 ! *** endl。 cout \t*** 出售失敗 ! *** endl。 cout \t***********************************\n endl。 cout 按任意鍵繼續(xù)。 endl。 _getch()。 return 。 } } void Supermarket::Swap(Goods *p1, Goods *p2) { num = p2num。 name = p2name。 pricein = p2pricein。 priceout = p2priceout。 count = p2count。 profit = p2profit。 sale_count = p2sale_count。 sale_profit = p2sale_profit。 p2num = p1num。 p2name = p1name。 p2pricein = p1pricein。 p2priceout = p1priceout。 p2count = p1count。 p2profit = p1pro
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1