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

正文內(nèi)容

程序設(shè)計(jì)綜合設(shè)計(jì)汽車租賃管理系統(tǒng)(存儲(chǔ)版)

  

【正文】 除車輛,租賃車輛,歸還車輛,查詢每一輛車的租用記錄,查詢每個(gè)月內(nèi)的租用記錄,保存上次的錄入車輛信息和租車的記錄,還車的記錄,從文件中提取以前的相關(guān)信息并將其導(dǎo)入到程序中,從而保證上次錄入的車輛信息和車輛租用記錄,還車的記錄日期等重要信息,退出等幾個(gè)功能模塊。對(duì)于本程序,在保存租賃信息的同時(shí),是否能將租賃的借和還的信息對(duì)應(yīng)的保存起來(lái),從而以備車輛的收費(fèi)計(jì)算和車輛信息的查詢,因此我們可以定義兩個(gè)日期的結(jié)構(gòu)體數(shù)組,在車輛每被借出去一次后,它必須被相應(yīng)的還回去一次,并且在同一輛車被租賃出去以后在該車未被歸還之前它是不能被租賃出去的,所以只能是借一次還一次的重復(fù)的進(jìn)行。第四章 設(shè)計(jì)結(jié)果及分析 測(cè)試結(jié)果 整個(gè)程序段是按照課題的要求進(jìn)行的具體設(shè)計(jì),基本能夠?qū)崿F(xiàn)課題所要求的各個(gè)功能,將各個(gè)功能付諸了較為詳細(xì)的實(shí)現(xiàn)過(guò)程,但實(shí)現(xiàn)的代碼量較為大,實(shí)現(xiàn)的過(guò)程較為繁瑣, 沒(méi)有能夠應(yīng)用很好的計(jì)算方法去逐步地實(shí)現(xiàn)每個(gè)要求解決的功能菜單,影響了程序的執(zhí)行效率的進(jìn)一步飛躍式提升.圖1 菜單界面Figure 1 menu interface圖2費(fèi)用計(jì)算Figure 2 cost calculation 結(jié)果分析 從上面運(yùn)行的結(jié)果顯示,基本完成了添加車輛、查找車輛信息、刪除車輛、租車、還車和導(dǎo)入文件等操作,且能夠正確的顯示運(yùn)行結(jié)果。于是我就試著用兩個(gè)for嵌套的方法,經(jīng)過(guò)反復(fù)嘗試,終于成功了,你說(shuō)的沒(méi)錯(cuò),當(dāng)時(shí)的感覺(jué)真的比游戲打通關(guān)了還要好。論文行文過(guò)程中,劉黎志老師老師多次幫助我分析思路,開(kāi)拓視角,在我遇到困難想放棄的時(shí)候給予我最大的支持和鼓勵(lì)。 char vehiclenumber[20]。 float fee[100]。 else { vehicle* p。\t39。\t39。\t39。\t39。\t39。 cout請(qǐng)輸入你要添加的車輛的車牌號(hào)碼endl。 tailnext=p。 vehicle* p。 for(p=head。 cout請(qǐng)輸入你要?jiǎng)h除的車輛的車牌號(hào)碼endl。 vehicle* p。 cinpnextout[pnexti].yearpnextout[pnexti].monthpnextout[pnexti].daypnextout[pnexti].hour。 cinflag1。H39。 (pnexti)++。 cinvehiclenumber1。 cout還車成功endl。m) if(m==4||m==6||m==9||m==11) counter1+=30。 int y()。 else counter+=365。 vehicle* p。 else if(pnextzulin[pnexti1]==39。 int sum1。 } else { for(counter=0。 if(distances(pnextout[counter],pnextin[counter])+13) sum1=sum1*。 cout請(qǐng)輸入你要查詢的車的車牌號(hào)碼endl。 cout。 cout。 coutX。 counter1++。 break。 for(p=head。((pnextout[counter]).month==b)) { coutpnextzulin[counter]。((pnextout[counter]).year==y)amp。 } } if(pnextflag!=39。amp。 } void show() { jifei()。 for(counter=0。) { cout0。 } void daoru() { int i1,j1。) { ifswspiwspjwspkindwspzulinwspvehiclenumberws。j1pj。E39。j1++) ifs(pout[j1]).yearws(pout[j1]).monthws(pout[j1]).dayws(pout[j1]).hourws。 link H。 cout\t\\t\tendl。 counter++。 else if(i==10) ()。 cout\t\\t\tendl。 cout\t\\t\tendl。 cout\t\\t\tendl。 cout\t\\t\tendl。 else if(i==7) ()。 cini。 cout\t\\t\tendl。 } }}。 for(j1=0。 ifspflag。j1++) ifs(pout[j1]).yearws(pout[j1]).monthws(pout[j1]).dayws(pout[j1]).hourws。 if(pflag!=39。counter++) cout(pnextout[counter]).year年(pnextout[counter]).month月(pnextout[counter]).day天(pnextout[counter]).hour時(shí)(pnextin[counter]).year年(pnextin[counter]).month月(pnextin[counter]).day天(pnextin[counter]).hour時(shí)\t費(fèi)用:pnextfee[counter]元endl。 } } if(pnextflag!=39。p=pnext) { coutpnextvehiclenumber\t\tpnextkind\t\t。((pnextout[counter]).month==b)) cout(pnextout[counter]).year年(pnextout[counter]).month月(pnextout[counter]).day天(pnextout[counter]).hour時(shí)(pnextin[counter]).year年(pnextin[counter]).month月(pnextin[counter]).day天(pnextin[counter]).hour時(shí)\t費(fèi)用:pnextfee[counter]元endl。 for(counter=0。((pnextin[counter].yearpnextout[counter].year)*12b)) { counter1++。((pnextin[counter]).monthb)amp。counter++) { if(((pnextout[counter]).year==y)amp。 cout請(qǐng)輸入你要查詢租賃情況的年份和月份endl。amp。39。amp。 counter1++。p=pnext) if(strcmp(pnextvehiclenumber, vehiclenumber1)==0) { coutpnextvehiclenumber\t\tpnextkind\t\t。 vehicle* p。X39。 if(distances(pnextout[counter],pnextin[counter])+13) sum1=sum1*。 } void jifei() { int counter。H39。 cout請(qǐng)輸入你所租賃車的車牌號(hào)碼endl。y。 return counter1。 for(。 cinpnextin[pnextj].yearpnextin[pnextj].monthpnextin[pnextj].daypnextin[pnextj].hour。 vehicle* p。 pnextflag=39。H39。 } else { char flag1。39。 } cout刪除車輛信息成功endl。 } void deletes() { char vehiclenumber1[20]。 cout請(qǐng)輸入車輛類型endl。 cout添加車輛信息成功endl。 strcpy(pkind,kind1)。 vehicle* p。j1pnextj。\t39。\t39。\t39。\t39。 (C:\\Documents and Settings\\Administrator\\桌面\\,ios::trunc|ios::out)。 date out[100]。}date?! ∫獙W(xué)好C程序,光有知識(shí)是不夠的,還得有經(jīng)驗(yàn),上機(jī)操作的經(jīng)驗(yàn),只有大腦中有了經(jīng)驗(yàn),在碰到問(wèn)題的時(shí)候才有許多解決的方案,然后才能去嘗試?! 傞_(kāi)始接觸C程序,就覺(jué)得有一種似曾相識(shí)的感覺(jué),我對(duì)編程挺感興趣,一個(gè)程序編寫完成運(yùn)行成功之后的喜悅真的讓人難忘,就像次的課程設(shè)計(jì),一開(kāi)始畫(huà)圖,計(jì)算器有許多數(shù)字鍵,要一個(gè)一個(gè)方框的畫(huà)很麻煩,我就試著能不能找到一個(gè)簡(jiǎn)單的方法能一下子畫(huà)完。故在每次執(zhí)行該檢查操作之后,對(duì)應(yīng)的輸出空閑的狀態(tài),如沒(méi)有空閑的狀態(tài)則就不會(huì)輸出該狀態(tài),繼續(xù)下次的輸出操作。由于后一次向文件中寫入數(shù)據(jù)時(shí)都會(huì)將本次以前所有的信息寫入。分別用來(lái)創(chuàng)建文件,導(dǎo)入文件和導(dǎo)出文件。如果按照這種讀出方式,會(huì)導(dǎo)致同一個(gè)信息被讀幾次出來(lái),影響了文件信息的讀出效果,保存文件時(shí)也會(huì)導(dǎo)致出現(xiàn)重復(fù)保存,也就不符合程序應(yīng)用文件的作用了。第二章 設(shè)計(jì)簡(jiǎn)介及設(shè)計(jì)方案論述 設(shè)計(jì)簡(jiǎn)介針對(duì)于車輛在租賃和歸還中的復(fù)雜性和計(jì)費(fèi)的冗余性,對(duì)整個(gè)過(guò)程由了大致的了解后,生成一個(gè)鏈表頭將各個(gè)車輛的信息串聯(lián)起來(lái),. 設(shè)計(jì)方案 本程序采用C++語(yǔ)言編寫,整個(gè)課題的功能實(shí)現(xiàn)可以按照幾個(gè)功能模塊的函數(shù)編寫來(lái)完成。s internal basic services like the user and rental service, to allow the user to view all of the vehicle information, convenient and car rental. After the pletion of the program manual will save to file data, so start next time when the lease system directly in the file data import into memory, continue to use. Complete add, delete, modify, search, rental car and the basic functions a
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1