Simulate… Statistics
10/28/98
12
Ramamurthy
typedef Event ItemType; // for each element of //queue and line
typedef struct stats
{
int TotalNum;
int TotalWait;
stats(); // construtor
};
stats::stats() { TotalNum = 0; TotalWait = 0;}
// Instantiate a stats object: p.339
stats Statistics;
Previous slide
Next slide
Back to first slide
View graphic version