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

正文內(nèi)容

物品庫存管理課程設(shè)計報告-文庫吧資料

2025-03-29 10:47本頁面
  

【正文】 。 int choice。void customer::search() //搜索{ char name1[10]。增加了一個子菜單,選擇是按客戶名稱查詢,或者是按客戶代碼查詢,亦或者是退出。p2),sizeof(customer))。 getch()。p2),sizeof(customer))。 } customer p2。 getch()。void customer::showab() //全部顯示{ ifstream file( ,ios::in)。//reinterpret_cast將其他類型的數(shù)據(jù)轉(zhuǎn)換為字符指針 } void showab()這個函數(shù)實現(xiàn)的是顯示客戶資料的功能。 //從鍵盤輸入客戶資料 //將該客戶的資料傳到文件中 (reinterpret_cast char * (amp。 } customer p2。 getch()。void customer::add() //加入客戶資料 { ofstream file( , ios::out |ios::ate )。} void add()這個函數(shù)實現(xiàn)添加客戶資料功能。 delete []num。i++) { filebrnd[i].brnd_name\tbrnd[i].Brand_code\t brnd[i].brnd_price\tbrnd[i].quantity\n。 } } if(nBrndprenBrnd) { for(i=prenBrnd。iprenBrnd。 file品牌\t代碼\t價格\t進貨量\n。 file品種\t代碼\t顏色\n。 filectime(amp。 exit(1)。 if(!file) { cout錯誤,不能打開文件.。 else n=0。Y39。y39。 cinchoice。 nBrnd++。 cinbrnd[nBrnd].brnd_price。 cinbrnd[nBrnd].quantity。 cinbrnd[nBrnd].Brand_code。 } } if(flag==0) { strcpy(brnd[nBrnd].brnd_name,name)。 flag=1。 brnd[i].quantity+=count。i++) { if(strcmp(brnd[i].brnd_name,name)==0) { cout\n\n輸入進貨數(shù)量:。 for(int i=0。 Flush(cin)。i++) //儲存原來的數(shù)量 { num[i]=brnd[i].quantity。 for(int i=0。 //用于判斷是否新品牌 int * num。 //原先品牌數(shù) int n=1。 int count,jinhuo=0。void CItem::InModify()//已有商品,再次進貨,修改結(jié)點中的數(shù)據(jù)部分{ char name[20]。如果小于的話將會繼續(xù)程序,通過brnd[choice1].quantity=count。實際上該函數(shù)是對鏈表中所存在的結(jié)點的數(shù)據(jù)部分的修改。因為所進的品種可能是也有的品種,只是增加其中的數(shù)量而已。 ()。 } } file總價格為:price\n\n。i++) { if(chuhuo=num[i]brnd[i].quantity) { price=chuhuo*brnd[i].brnd_price。 for(i=0。 fileItem_name\tItem_code\tcolour\n\n。timer)。 } timer=time(NULL)。 getch()。 } ofstream file(,ios::out|ios::ate)。 cout出貨成功,按0退出或按數(shù)字繼續(xù)出貨.\n。 cincount。 cincount。amp。 cinchoice。 } cout\n\n。inBrnd。 } cout品牌\t代碼\t數(shù)量\t價格\n。inBrnd。 exit(1)。 num=new int[nBrnd]。void CItem::OutModify()//出貨,修改結(jié)點中的數(shù)據(jù)部分{ int choice,count,chuhuo,price=0。在出貨成功結(jié)束時同樣要將本品種的各種品牌的出貨數(shù)據(jù)輸出到出貨清單中。還有一種可能是商品品種曾經(jīng)存在,但已經(jīng)全部出完了,這時,該品種的各種數(shù)據(jù)還存在,只是數(shù)量為零。}這個函數(shù)也是與出貨功能有關(guān),與InModify()的函數(shù)類似。 system(pause)。i++) { coutbrnd[i].brnd_name\tbrnd[i].Brand_code\t brnd[i].quantity\tbrnd[i].brnd_price\n。 for(int i=0。 coutItem_name\tItem_code\tcolour\n。}
點擊復(fù)制文檔內(nèi)容
試題試卷相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1