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

正文內(nèi)容

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

2024-07-19 01:39 本頁面
 

【文章內(nèi)容簡介】 的感謝。老師的嚴(yán)謹?shù)墓ぷ髯黠L(fēng)、親切的待人方式,淵博的專業(yè)知識都給我留下了深刻的印象,老師細心的講解和指點使我從課程設(shè)計之中受益匪淺,使我從實際的算法實現(xiàn)中更好地掌握了理論知識。她深厚的理論水平都使我受益匪淺,無論在理論上還是在實踐中,都給與我很大的幫助,使我得到不少的提高,這對于我以后的工作和學(xué)習(xí)都是一種巨大的幫助!最后還要感謝我的同學(xué)們,感謝他們耐心的講解和細心的指導(dǎo),也感謝他們給我提出那么多的解決方案和指導(dǎo)性意見,幫我順利完成我的課程設(shè)計和論文!17 / 28 附錄:源程序(帶注釋) include //包含文件讀寫 include include //包含 strcmp()字符是否相等include //包含 system(cls)清屏define MAX 20 //下列字符數(shù)組的大小struct Date{//日期 char year[MAX]。//年 char month[MAX]。//月 char day[MAX]。//日}。struct Goods{//物品信息 char name[MAX]。//商品名稱 char price[MAX]。//商品價格 char number[MAX]。//商品數(shù)量 char cost[MAX]。//商品總價 char kind[MAX]。//商品的種類 Date indate。//購進日期18 / 28 Goods * next。//下一個結(jié)點 }。class Cangkuguanli { //類定義與實現(xiàn)private: int length。//客戶數(shù)量 Goods * head。//列表的頭結(jié)點 Goods * current。//當(dāng)前結(jié)點public: Cangkuguanli()//構(gòu)造函數(shù) { head=new Goods。//創(chuàng)建頭結(jié)點 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 。//構(gòu)建新結(jié)點信息 length++。 //每加一個結(jié)點 鏈表長度增 1 tempnext=NULL。 cout 請輸入商品名稱: 。 cintempname。 cout 請輸入單價 : 。 cintempprice。 cout 請輸入商品數(shù)量: 。 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ù)存入新產(chǎn)品 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ù)插入新結(jié)點} void Open ()//打開一個數(shù)據(jù)文件,并建立鏈表關(guān)聯(lián) 和文件中的記錄對應(yīng){ 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 數(shù)據(jù)為空\n。 for(int i=0。ilength。i++)//創(chuàng)建新的結(jié)點保存文件的數(shù)據(jù) { Goods * t=new Goods 。tnext=NULL。infiletnametpricetnumbertcosttkind ttt。 if(head==NULL){head=t。current=t。}//跟上面的鏈表創(chuàng)建相似else {currentnext=t,current=t。}}()。//關(guān)閉文件流}//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)//把所有結(jié)點寫入到文件 fname {20 / 28 outfiletempname tempprice tempnumber tempcost tempkind temp temp tempendl。 //寫入每個結(jié)點信息 temp=tempnext。 } ()。//關(guān)閉文件流} void printinfor( Goods * current)//輸出一個結(jié)點的信息到字符界面{ 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
點擊復(fù)制文檔內(nèi)容
語文相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1