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

正文內(nèi)容

立體化停車場(chǎng)設(shè)計(jì)書-展示頁

2024-08-17 21:28本頁面
  

【正文】 else { rear = rearnext。 if (rearnext == NULL) { cout車輛入隊(duì)失敗endl。 return 1。 front=rear。 }}int Queue::DestroyQueue(Queue *Q){ //銷毀一個(gè)隊(duì)列 while (front){ rear=frontnext。 cout構(gòu)造了一個(gè)空隊(duì)列endl。 } else { rear = front。}int Queue::InitQueue(){ //構(gòu)造一個(gè)空隊(duì)列 front = (QueueNode *)malloc(sizeof(QueueNode))。 } else cout隊(duì)列不為空endl。}int Queue::EmptyQueue(Queue *Q){ if (front==rear) { cout隊(duì)列為空endl。}。 int DeleteQueue(Queue *Q,Car *c)。 int EnterQueue(Queue *Q, Car c)。 int InitQueue()。}。class Queue //定義隊(duì)列類 { public: QueueNode *front, *rear。 struct QueueNode *next。} 用戶界面設(shè)計(jì)運(yùn)行時(shí)為DOS界面,通過增加字符畫,更換背景顏色等方法增加界面的美觀度。 case 0: break。w)。temt1, amp。s1, amp。s3, amp。 break。temt1 ,amp。s1,amp。s3,amp。 break。s2, amp。s3,amp。 cint。 coutendl。 cout **** ◇ **** endl。 cout **** ◇ **** endl。 while (t) { cout ================================================ endl。temp1)。s3)。 ()。 ()。 Car w。 coutendl。 cout^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^endl。 cout” ~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^ endl。 cout~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~ endl。 函數(shù)原型設(shè)計(jì)int main(){ system(color E1)。此外,我們還設(shè)計(jì)了計(jì)費(fèi)功能,利用windows系統(tǒng)自帶函數(shù)獲取時(shí)間,免去了人工手動(dòng)輸入時(shí)間的繁瑣步驟,同時(shí),針對(duì)不同車型,是否享受會(huì)員優(yōu)惠等差異制定了不同的收費(fèi)標(biāo)準(zhǔn),使停車場(chǎng)的運(yùn)行更為規(guī)范化,合理化。針對(duì)離開停車場(chǎng)的功能,可選擇任一停車場(chǎng)出車,并會(huì)根據(jù)停車時(shí)長,車輛類型,以及是否為會(huì)員等信息給出本次停車的費(fèi)用。3 方案設(shè)計(jì) 總體功能設(shè)計(jì)本次課程設(shè)計(jì)共分為四個(gè)主要功能:(1)進(jìn)入停車場(chǎng)(2)離開停車場(chǎng)(3)查看停車場(chǎng)現(xiàn)狀 (4)計(jì)費(fèi)功能 針對(duì)進(jìn)入停車場(chǎng)的功能,我們?cè)O(shè)計(jì)了“先地上,后地下”,的停放順序,當(dāng)?shù)厣夏媳彪p向任一停車場(chǎng)停滿后,再向該停車場(chǎng)進(jìn)車,會(huì)顯示“停車場(chǎng)已滿”等提示信息,并將車輛停入有剩余車位的其他停車場(chǎng)。 功能需求此次設(shè)計(jì)任務(wù),要求停車場(chǎng)分為上下兩層,上層為南北雙向入口和出口,下層為單向入口出口,并要求我們?cè)O(shè)計(jì)等待區(qū)域。同時(shí)設(shè)計(jì)了計(jì)時(shí)計(jì)費(fèi)功能,會(huì)員制度,針對(duì)不同型號(hào),是否為會(huì)員的車輛進(jìn)行分類收費(fèi)。(4)停車計(jì)費(fèi)功能。(2)等候車輛的管理。地面入口處各有一個(gè)單車道的等候通道,并允許等候的車輛因急事從等候通道直接開走。地上停車場(chǎng)采用南北方向的雙口,每個(gè)口都有一個(gè)入口和出口。立體化停車場(chǎng)設(shè)計(jì)書 課題任務(wù)設(shè)停車場(chǎng)有地下和地面兩層,統(tǒng)一管理。地下停車場(chǎng)采用單入口和單出口。停車順序先地面,后地下。具體的設(shè)計(jì)任務(wù)如下:(1)采用棧、隊(duì)列和有序表等數(shù)據(jù)結(jié)構(gòu)。(3)地下、地上停車位的管理。 課題原理針對(duì)本次課程設(shè)計(jì)的具體要求,我們?cè)O(shè)計(jì)了如下方案:停車場(chǎng)內(nèi)部選擇棧作為基本數(shù)據(jù)結(jié)構(gòu),充分利用棧后進(jìn)先出的數(shù)據(jù)結(jié)構(gòu)特點(diǎn),停車場(chǎng)外部的等候區(qū)域,針對(duì)其“先到先出”的工作特點(diǎn),選擇隊(duì)列作為基本數(shù)據(jù)結(jié)構(gòu)。2 需求分析 課題調(diào)研 為了完成本次課程設(shè)計(jì)任務(wù),我們對(duì)校園周邊的停車場(chǎng)運(yùn)作狀況進(jìn)行了一系列的前期調(diào)研,包括停車場(chǎng)的管理系統(tǒng)的運(yùn)行原理,收費(fèi)標(biāo)準(zhǔn)等等,為本次課程設(shè)計(jì)任務(wù)的完成打下了良好的基礎(chǔ)。對(duì)于收費(fèi)標(biāo)準(zhǔn),我們將不同型號(hào)的車分類收費(fèi),同時(shí)增加會(huì)員管理制度,對(duì)于多次在本停車場(chǎng)停車的會(huì)員給予優(yōu)惠。當(dāng)所有停車場(chǎng)均無停車位時(shí),到來車輛將會(huì)進(jìn)入等待區(qū)域,一旦有車輛離開停車場(chǎng),最先到達(dá)等待的區(qū)域的車輛將會(huì)進(jìn)入停車場(chǎng)。針對(duì)查看停車場(chǎng)現(xiàn)狀的功能,將顯示車牌號(hào),何處停車等相關(guān)信息。 數(shù)據(jù)結(jié)構(gòu)設(shè)計(jì) 本次課程設(shè)計(jì)主要使用了棧和隊(duì)列兩種數(shù)據(jù)結(jié)構(gòu),具體的設(shè)計(jì)方案和操作過程將在個(gè)人報(bào)告中給出,在此不再贅述。 coutendl。 cout 進(jìn)入停車場(chǎng)管理系統(tǒng) endl。 coutendl。 coutendl。 coutendl。 int t = 1。 ()。 (amp。 (amp。 ()。 cout **** ◇ **** endl。 cout **** ◇ **** endl。 cout ================================================ endl。 cout★★★★★★★★請(qǐng)輸入功能選項(xiàng): 。 switch (t) { case 1: CarIn(amp。s1,amp。shortcut)。 case 2: CarOut(amp。temp1,amp。s2,amp。shortcut)。 case 3: LookNow(amp。temp1, amp。s2, amp。shortcut,amp。 break。 } } return 0。4 方案實(shí)現(xiàn) 開發(fā)環(huán)境與工具開發(fā)環(huán)境:VisualC++ 個(gè)人設(shè)計(jì)實(shí)現(xiàn)(按組員分小節(jié)) 曹奕設(shè)計(jì)實(shí)現(xiàn)隊(duì)列類的實(shí)現(xiàn):typedef struct QueueNode //隊(duì)列結(jié)構(gòu) { Car data。}QueueNode。 Queue(){cout構(gòu)造函數(shù)endl。 ~Queue()。 int DestroyQueue(Queue *Q)。 int EmptyQueue(Queue*Q)。 int QueueLength(Queue *Q)。Queue::~Queue(){cout析構(gòu)函數(shù)endl。 return (TRUE)。 return (FALSE)。 if (front == NULL) { return (FALSE)。 frontnext = NULL。 return (TRUE)。 free(front)。 } cout銷毀隊(duì)列成功endl。}int Queue::EnterQueue(Queue*Q, Car c){ rearnext = (QueueNode *)malloc(sizeof(QueueNode))。 return (FALSE)。 reardata = c。 cout車輛入隊(duì)成功countendl。 count++。 }}int Queue::DeleteQueue(Queue *Q,Car *c){ //刪除隊(duì)列元素 QueueNode *t。 return (FALSE)。 if (rear == t) rear = front。 frontnext = tnext。 cout車輛刪除成功endl。 return (TRUE)。 return 1。} 王卓君設(shè)計(jì)實(shí)現(xiàn)Time類:include include include includeiostreaminclude iomanipinclude include using namespace std。 int month。 int hour。 int second。LocalTime)。 //輸出時(shí)間函數(shù) int getmonth() {return 。} int gethour() {return 。} int getsecond() {return 。 day=getday()。 minuet=getminute()。 } ~Time(){}}。}//主函數(shù)void main(){ Time t。 cout現(xiàn)在是()月()日()時(shí)()分()秒endl。 //static int carid=0。class Time //時(shí)間類 {private: SYSTEMTIME LocalTime。 int day。 int minuet。public: Time() { GetLocalTime(amp。 //取系統(tǒng)時(shí)間 } void OutputTime()。} int getday() {return 。} int getminute() {return 。} void save() { month=getmonth()。 hour=gethour()。 second=getsecond()。void Time::OutputTime() //輸出當(dāng)前系統(tǒng)時(shí)間{ cout當(dāng)前時(shí)間為:getmonth()月getday()日gethour()時(shí)getminute()分endl。 int data。}ponent,SLinkList[MAXSIZE]。 char licence[LICENCESIZE]。 Time leave。class Guest:public Time //客戶類,繼承Time類{public: Time t1,t2。 //該數(shù)組存車牌號(hào) //char e[10]。 int j,k,v。 //車輛類型:1客車 2貨車 3轎車 4越野車 5跑車 float price。i=100,m100。 //carid[i].data = 0000000。 } ~Guest(){} int LocateElem(SLinkList carid,int *e)。 //該函數(shù)儲(chǔ)存會(huì)員的車牌號(hào)和停車次數(shù) float fee(Time t1,Time t2)。 //計(jì)算打折價(jià)格函數(shù)}。 //while(kamp。strcmp(carid[k].data,e)!=0) //在表中順鏈查找 while(carid[k].data != *e) { k=carid[k].cur。 k=0。 } } return k+1。 else if(()!=()) price=(()())*500。 cout您的車是什么類型?1客車 2貨車 3轎車 4越野車 5跑車endl。 switch(cartype) //1客車 2貨車 3轎車 4越野車 5跑車 { case 1: case 2: price=price*2。 case 3: price=price。 case 4: price=price*。 case 5: price=price*。 } } return price。 //調(diào)用線性表定位函數(shù) if(carfre[v1]=100) price=price*。 else if(carfre[v1]=20) price=price*。 return price。 int e。 for(int n=0,x=1111。n++,x=x+1111) {
點(diǎn)擊復(fù)制文檔內(nèi)容
范文總結(jié)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1