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

正文內容

服裝銷售管理及管理知識分析(編輯修改稿)

2025-07-19 01:39 本頁面
 

【文章內容簡介】 的感謝。老師的嚴謹的工作作風、親切的待人方式,淵博的專業(yè)知識都給我留下了深刻的印象,老師細心的講解和指點使我從課程設計之中受益匪淺,使我從實際的算法實現中更好地掌握了理論知識。她深厚的理論水平都使我受益匪淺,無論在理論上還是在實踐中,都給與我很大的幫助,使我得到不少的提高,這對于我以后的工作和學習都是一種巨大的幫助!最后還要感謝我的同學們,感謝他們耐心的講解和細心的指導,也感謝他們給我提出那么多的解決方案和指導性意見,幫我順利完成我的課程設計和論文!17 / 28 附錄:源程序(帶注釋) include //包含文件讀寫 include include //包含 strcmp()字符是否相等include //包含 system(cls)清屏define MAX 20 //下列字符數組的大小struct Date{//日期 char year[MAX]。//年 char month[MAX]。//月 char day[MAX]。//日}。struct Goods{//物品信息 char name[MAX]。//商品名稱 char price[MAX]。//商品價格 char number[MAX]。//商品數量 char cost[MAX]。//商品總價 char kind[MAX]。//商品的種類 Date indate。//購進日期18 / 28 Goods * next。//下一個結點 }。class Cangkuguanli { //類定義與實現private: int length。//客戶數量 Goods * head。//列表的頭結點 Goods * current。//當前結點public: Cangkuguanli()//構造函數 { head=new Goods。//創(chuàng)建頭結點 current=head。 currentnext=NULL。 length=0。//長度為 0 } void Creatlist()//創(chuàng)建新的列表 { char g=39。Y39。 int s=0。 length=0。//初始長度為 0;current=head。do { Goods * temp=new Goods 。//構建新結點信息 length++。 //每加一個結點 鏈表長度增 1 tempnext=NULL。 cout 請輸入商品名稱: 。 cintempname。 cout 請輸入單價 : 。 cintempprice。 cout 請輸入商品數量: 。 cintempnumber。 cout 請輸入總費用 : 。 cintempcost。 cout 請輸入日期 (**** ** **) : 。 cintemptemptemp。 cout 請輸入的種類: 。 cintempkind。 if(head==NULL){head=temp。current=temp。} //head 頭指針,current 尾指針 else {currentnext=temp,current=temp。} do{ cout next ? (Y N) 。 //是否繼續(xù)存入新產品 cing。19 / 28 if(g!=39。Y39。amp。amp。g!=39。N39。) { cout\n error !!!!\n 。 } }while(g!=39。Y39。amp。amp。g!=39。N39。)。 }while(g==39。Y39。)。//判斷是否繼續(xù)插入新結點} void Open ()//打開一個數據文件,并建立鏈表關聯 和文件中的記錄對應{ char fname[20]。//文件名稱 cout input the name of the file \n。 cinfname。 //輸入要打開的文件名ifstream infile (fname)。//創(chuàng)建輸入文件流 infilelength。cout\n length is: lengthendl。//if(length==0)cout 數據為空\n。 for(int i=0。ilength。i++)//創(chuàng)建新的結點保存文件的數據 { Goods * t=new Goods 。tnext=NULL。infiletnametpricetnumbertcosttkind ttt。 if(head==NULL){head=t。current=t。}//跟上面的鏈表創(chuàng)建相似else {currentnext=t,current=t。}}()。//關閉文件流}//open void Save ()//保存鏈表信息到文件{ if(length==0) { cout 列表為空 不需存盤 \n。 return 。 } char fname[20]。//文件名稱 cout input the name of the file you want to put data in \n。 cinfname。 ofstream outfile(fname)。//創(chuàng)建輸出文件流 Goods * temp=headnext。 outfilelengthendl。//先寫入文件的長度 while (temp!=NULL)//把所有結點寫入到文件 fname {20 / 28 outfiletempname tempprice tempnumber tempcost tempkind temp temp tempendl。 //寫入每個結點信息 temp=tempnext。 } ()。//關閉文件流} void printinfor( Goods * current)//輸出一個結點的信息到字符界面{ if(current==NULL) { cout\n 元素為空!!! \n 。 return。 } (39。 39。)。coutcurrentname。(8)。 (8)。coutcurrentprice。(8)。 coutcurrentnumber。(8)。coutcurrentcost。 //就是給 currentcost10 個字符輸出,不夠往前面加‘ ’空格 (10)。coutcurrentkind。 (10)。 cout current.current.cu
點擊復制文檔內容
語文相關推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1