91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 3KB
    文件類型: .cpp
    金幣: 1
    下載: 0 次
    發布日期: 2021-01-04
  • 語言: C/C++
  • 標簽: 理發店??

資源簡介

自己折騰了一周寫出來的理發店的管理系統,

資源截圖

代碼片段和文件信息

#include?“Queue.h“
#include?
#include?
#include?
#include?
#include?
using?namespace?std;

int?totalsevertime=0;//服務的總時間
int?persontime=0;//個人總的服務的時間(等待+服務)
int?totalnumber=0;//定義總的服務的人數

int?wangcount=0;//定義了師傅服務的人數
int?yangcount=0;
int?liucount=0;

int?totalwaittime;//定義總的等待時間
int?averagewaittime?;//定義平均等待時間


linkQueue?wang;//三個師傅服務隊列的初始化
linkQueue?yang;
linkQueue?liu;
int?currentnext;//定義下一個來的人的變量

class?Customer{
private:
int?arrivetime;
int?severtime;
int?selecttouch;
int?nextcustomer;
public:
????Customer(void);
????int??touch();
int??randsevertime();
int??nextcustomertime();

};
?Customer::Customer(void){arrivetime=severtime=selecttouch=nextcustomer=0;}
int?Customer::touch(){selecttouch=rand()

評論

共有 條評論