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

正文內(nèi)容

立體化停車(chē)場(chǎng)設(shè)計(jì)書(shū)-資料下載頁(yè)

2025-08-02 21:28本頁(yè)面
  

【正文】 己擁有更多的知識(shí),解決更多問(wèn)題。 趙天舒設(shè)計(jì)小結(jié)此次課程設(shè)計(jì)我主要負(fù)責(zé)停車(chē)場(chǎng)棧功能的實(shí)現(xiàn),考慮到類(lèi)可以是結(jié)構(gòu)更加清晰簡(jiǎn)明而且實(shí)際問(wèn)題中分地上和地下兩個(gè)停車(chē)場(chǎng),所以我結(jié)合數(shù)據(jù)結(jié)構(gòu)和上學(xué)期c++中內(nèi)容構(gòu)建了兩個(gè)Stack類(lèi),分別是地上停車(chē)場(chǎng)的棧SqStack和地下停車(chē)場(chǎng)的棧Stack。各個(gè)類(lèi)中都將構(gòu)造空棧、判斷棧滿、判斷???、入棧、出棧等基本棧函數(shù)進(jìn)行封裝。在主函數(shù)車(chē)輛進(jìn)入地上或地下停車(chē)場(chǎng)時(shí)都可以通過(guò)類(lèi)的對(duì)象對(duì)類(lèi)函數(shù)進(jìn)行調(diào)用。通過(guò)此次課程設(shè)計(jì),我對(duì)數(shù)據(jù)結(jié)構(gòu)知識(shí)有了更加熟練的應(yīng)用,加深了對(duì)類(lèi)封裝的認(rèn)識(shí),也更加詳細(xì)、徹底的了解的棧的知識(shí)和應(yīng)用。自己的編寫(xiě)和反復(fù)改錯(cuò)使我的編程能力有了更大的提高和加強(qiáng)。同時(shí)此次實(shí)驗(yàn)也讓我深刻體會(huì)到團(tuán)隊(duì)合作的重要性。大家共同在課程設(shè)計(jì)中進(jìn)步、成長(zhǎng)。A1 課題程序設(shè)計(jì)分工課題程序設(shè)計(jì)分工學(xué)號(hào)姓名程序設(shè)計(jì)函數(shù)原型、類(lèi)功能說(shuō)明20113295曹奕隊(duì)列類(lèi)的設(shè)計(jì)與操作實(shí)現(xiàn)停車(chē)場(chǎng)等待功能20113296 崔嘉文主函數(shù),接口函數(shù)的設(shè)計(jì)完成停車(chē)場(chǎng)進(jìn)車(chē),查看功能20113299王卓君計(jì)費(fèi)功能的設(shè)計(jì)與操作實(shí)現(xiàn)計(jì)費(fèi)功能,會(huì)員制度20113300張小玉界面設(shè)計(jì),接口函數(shù)的設(shè)計(jì)完成停車(chē)場(chǎng)出車(chē)功能20113301趙天舒棧的設(shè)計(jì)與操作實(shí)現(xiàn)完成停車(chē)場(chǎng)進(jìn)車(chē)功能A2 課題報(bào)告分工課題報(bào)告分工章節(jié)內(nèi)容完成人1 課題概述 課題任務(wù) 課題原理 崔嘉文2 需求分析 課題調(diào)研 功能需求崔嘉文3 方案設(shè)計(jì) 總體功能設(shè)計(jì) 數(shù)據(jù)結(jié)構(gòu)設(shè)計(jì) 函數(shù)原型設(shè)計(jì) 用戶界面設(shè)計(jì)崔嘉文4 方案實(shí)現(xiàn) 開(kāi)發(fā)環(huán)境與工具 個(gè)人設(shè)計(jì)實(shí)現(xiàn) 曹奕王卓君張小玉趙天舒崔嘉文5 測(cè)試與調(diào)試 個(gè)人測(cè)試 系統(tǒng)運(yùn)行曹奕王卓君趙天舒張小玉崔嘉文崔嘉文6 課題總結(jié) 課題性能分析 課題評(píng)價(jià)與團(tuán)隊(duì)協(xié)作 個(gè)人設(shè)計(jì)小結(jié) 崔嘉文崔嘉文曹奕王卓君張小玉趙天舒 附錄B 課題設(shè)計(jì)文檔(光盤(pán))B1課程設(shè)計(jì)報(bào)告(電子版)B2源程序代碼(*.H,*.CPP)include include include includeiostreaminclude iomanipinclude include include define STACKSIZE 3 //設(shè)置地下停車(chē)場(chǎng)容量define LICENCESIZE 10//設(shè)置車(chē)牌號(hào)define CHARGE 20 //每分鐘的停車(chē)費(fèi)define SIZE 3 //設(shè)置地上單向停車(chē)場(chǎng)容量define TRUE 1define FALSE 0static int carfre[100]={0}。 static int carid=0。 static int count=0。 using namespace std。class Time //時(shí)間類(lèi) {private: SYSTEMTIME LocalTime。 int month。 int day。 int hour。 int minuet。 int second。public: Time() { GetLocalTime(amp。LocalTime)。 //取系統(tǒng)時(shí)間 } void OutputTime()。 //輸出時(shí)間函數(shù) int getmonth() {return 。} int getday() {return 。} int gethour() {return 。} int getminute() {return 。} int getsecond() {return 。} void save() { month=getmonth()。 day=getday()。 hour=gethour()。 minuet=getminute()。 second=getsecond()。 } ~Time(){}}。void Time::OutputTime() //輸出當(dāng)前系統(tǒng)時(shí)間{ cout★★★★★★★★當(dāng)前時(shí)間為:getmonth()月getday()日gethour()時(shí)getminute()分endl。}typedef struct Car{ int leaved。 char licence[LICENCESIZE]。 Time arrive。 Time leave。}Car。//棧類(lèi)SqStack的定義class SqStack{ public: Car data[SIZE]。 int top。 int base。 SqStack()。 void sInitStack()。 int sEmpty(SqStack *s)。 int sFullStack(SqStack *s)。 int sGetTop(Car c)。 int sPush(SqStack *s,Car c)。 int sPop(SqStack *s,Car *c)。}。static SqStack s1,s2,temt1。//棧SqStack的實(shí)現(xiàn)SqStack::SqStack(){}//析構(gòu)函數(shù)void SqStack::sInitStack(){ top=0。 base=0。}//置棧一個(gè)空棧Sint SqStack::sEmpty(SqStack *s){ if(base==top) return 1。 else return 0。}//判定s是否為空棧int SqStack::sFullStack(SqStack *s){ int n。 n=SIZE。 if (stop==n1) return 1。 else return 0。}//判斷s是否為滿棧int SqStack::sGetTop(Car c){ if(top==base) return FALSE。 else c=data[top1]。 top。 return (TRUE)。}//若棧非空,則返回s的棧頂元素;否則返回ERRORint SqStack::sPush(SqStack *s, Car c){ if (sFullStack(s)==1) return FALSE。 else{ top++。 data[top]=c。 return TRUE。 }} //插入c為新的棧頂元素int SqStack::sPop(SqStack *S,Car *c){ if(base==top) return FALSE。 else{ (*c)=data[top]。 top。 return TRUE。 } } //若棧不空,則刪除棧頂元素,并用e返回其值;否則返回ERROR//棧類(lèi)Stack的定義class Stack{ public: Car elem[STACKSIZE]。 int top。 int base。 Stack()。 void InitStack(Stack *s)。 int EmptyStack(Stack *s)。 int FullStack(Stack *S)。 int GetTop(Stack *s,Car c)。 int Push(Stack *s,Car c)。 int Pop(Stack *s,Car *c)。}。Stack s3,temp1。//棧Stack的實(shí)現(xiàn)Stack::Stack(){}//析構(gòu)函數(shù)int Stack::EmptyStack(Stack *S){ if (base==top) return (TRUE)。 else return (FALSE)。}int Stack::FullStack(Stack *S){ if (top == STACKSIZE 1) return (TRUE)。 else return (FALSE)。}int Stack::Push(Stack *S, Car c){ if (FullStack(S)) return (FALSE)。 else { top++。 elem[top] = c。 return (TRUE)。 }}int Stack::Pop(Stack *S, Car *c){ if (EmptyStack(S)) return (FALSE)。 else { (*c) = elem[top]。 top。 return (TRUE)。 }}int Stack::GetTop(Stack *s,Car c){ if(top==base) return FALSE。 else c=elem[top1]。 top。 return (TRUE)。}//若棧非空,則返回s的棧頂元素;否則返回ERRORvoid Stack::InitStack(Stack *s){ top=0。 base=0。}//置棧一個(gè)空棧Stypedef struct QueueNode //隊(duì)列結(jié)構(gòu) { Car data。 struct QueueNode *next。}QueueNode。class Queue //定義隊(duì)列類(lèi) { public: QueueNode *front, *rear。 int InitQueue()。 int DestroyQueue(Queue *Q)。 int EnterQueue(Queue *Q, Car c)。 int EmptyQueue(Queue*Q)。 int DeleteQueue(Queue *Q,Car *c)。 int QueueLength()。}。Queue shortcut。int Queue::EmptyQueue(Queue *Q){ if (front==rear) return (TRUE)。 else return (FALSE)。}int Queue::InitQueue(){ //構(gòu)造一個(gè)空隊(duì)列 front = (QueueNode *)malloc(sizeof(QueueNode))。 if (front == NULL) return (FALSE)。 else { rear = front。 frontnext = NULL。 return (TRUE)。 }}int Queue::DestroyQueue(Queue *Q){ //銷(xiāo)毀一個(gè)隊(duì)列 while (front){ rear=frontnext。 free(front)。 front=rear。 } return 1。}int Queue::EnterQueue(Queue*Q, Car c){ rearnext = (QueueNode *)malloc(sizeof(QueueNode))。 if (rearnext == NULL) return (FALSE)。 else { rear = rearnext。 reardata = c。 //rear= rear。 rearnext = NULL。 return (TRUE)。 }}int Queue::DeleteQueue(Queue *Q,Car *c){ //刪除隊(duì)列元素 QueueNode *t。 if (EmptyQu
點(diǎn)擊復(fù)制文檔內(nèi)容
范文總結(jié)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1