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

正文內(nèi)容

數(shù)據(jù)結(jié)構(gòu)課設(shè)報(bào)告-理發(fā)館經(jīng)營(yíng)狀況模擬系統(tǒng)-文庫(kù)吧資料

2025-01-24 21:52本頁(yè)面
  

【正文】 int length=0。 next=NULL。 }}void InitQueue(LinkQueue amp。 } } } } fclose(f)。 if(Br[i].level==0) //檢測(cè)是否將文件的值導(dǎo)入 { outtextxy(480,200+a*20,NULL)。 Br[i].level=Buff[2]39。 Br[i].No=Buff[0]39。\039。 //從文件讀入理發(fā)師人數(shù)n a++。\039。 a++。 h2=H21*10+H22。 Min22=Buff[4]39。 Min21=Buff[3]39。 H22=Buff[1]39。 H21=Buff[0]39。 int H21,H22。 } else{ if(a==1) { Buff[61]=39。 min1=Min11*10+Min12。039。039。039。039。 int Min11,Min12。\039。 int i=1。 } FILE*f。 fclose(g)。039。039。039。\039。 FILE*g。 // outtextxy(300,300,等級(jí)3的隊(duì)列)。 //outtextxy(100,300,等級(jí)1的隊(duì)列)。 x=x+50。 setcolor(RED)。 setcolor(YELLOW)。 setcolor(WHITE)。 sprintf(level,%d,Br[i].level)。i++) //輸出理發(fā)師個(gè)數(shù)及編號(hào) { char level[5]。 for(i=1。 x=100。 // 按任意鍵繼續(xù) return 0。 close()。 outget()。 list()。b++) { allturnover = cus[b].turnover+allturnover。 for(b=1。 customer_in()。 //初始化隊(duì)列 InitQueue(B)。 click()。 Myinterface()。int _tmain(int argc, _TCHAR* argv[]){ initialize()。void clk(int n)。 //初始化void time_initialize()。 //修改界面void clearstate()。 //顯示當(dāng)前狀態(tài)void close()。 //平均等待長(zhǎng)度和等待時(shí)間void save()。 //顧客到達(dá)void customer_leave(int n)。 //判斷隊(duì)列是否為空,空返回1void customer_serve(int n)。 //隊(duì)頭出隊(duì),e返回去編號(hào)int QueueEmpty(LinkQueue amp。 //將顧客插入隊(duì)尾int DeQueue(LinkQueue amp。 //求等待隊(duì)列當(dāng)前長(zhǎng)度void EnQueue(LinkQueue amp。 //隊(duì)列初始化int Queue_length(LinkQueue amp。 //讀取文件void InitQueue(LinkQueue amp。 //等待隊(duì)列C為3void Myinterface()。 //等待隊(duì)列A為1LinkQueue B。 //隊(duì)尾指針}LinkQueue。typedef struct{ Queueptr front。 //理發(fā)者編號(hào) struct Qnode *next。customer cus[MAX]。 //是否在理發(fā) float turnover。 //開(kāi)始理發(fā)時(shí)間 int leavetime。 //下一個(gè)顧客到達(dá)所需時(shí)間 int select。 //進(jìn)入理發(fā)店時(shí)間 int durtime。 //理發(fā)師typedef struct customer{ int no。 //理發(fā)師編號(hào) int level。 //3級(jí)理發(fā)師營(yíng)業(yè)時(shí)間int r。 //1級(jí)理發(fā)師營(yíng)業(yè)時(shí)間float Bturnover。 //2級(jí)理發(fā)師營(yíng)業(yè)額int Ctime。 //總營(yíng)業(yè)額int Atime。 //營(yíng)業(yè)總時(shí)長(zhǎng)(分鐘)int lasttime。 //畫方格橫縱坐標(biāo)int i,a,b,c,d,e,f,h,k。 //理發(fā)師人數(shù)float discount。 double wait_len_C。 //平均等待長(zhǎng)度double wait_len_A。double aver_serve_time。double wait_B。 //結(jié)束時(shí)間int min2。 //開(kāi)始時(shí)間int min1。 //當(dāng)前B級(jí)可用椅子int Cchair。 //加班時(shí)間int Achair。 //總理發(fā)時(shí)間int currenttime。 //等待隊(duì)列長(zhǎng)度int totalcustom。各模塊間調(diào)用關(guān)系如下:四、 詳細(xì)設(shè)計(jì)// : 定義控制臺(tái)應(yīng)用程序的入口點(diǎn)。 //數(shù)據(jù)存儲(chǔ)3) 圖形界面模塊—實(shí)現(xiàn)圖形界面構(gòu)建及點(diǎn)擊設(shè)置。}2) 數(shù)據(jù)下載、存儲(chǔ)模塊:load ()。(cus[i].starttime+cus[i].durtime==currenttime)) customer_leave(i)。i++) { if((cus[i].serve_flag==TRUE)amp。 } while(currenttime++lasttime) //隊(duì)列為空,繼續(xù)為正在理發(fā)的顧客服務(wù) { for(i=1。i=totalcustom。 } } lasttime=cus[1].leavetime。amp。(cus[i].select==3)) customer_leave(i)。(cus[i].leavetime==currenttime)amp。i++) { //判斷有沒(méi)有人離開(kāi) if((cus[i].serve_flag==TRUE)amp。 for(i=1。 !QueueEmpty(B)) //讓等待隊(duì)列中的人去理發(fā) { customer_serve(DeQueue(B))。 } while(Bchair
點(diǎn)擊復(fù)制文檔內(nèi)容
黨政相關(guān)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1