Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop
Title: printer Download
 Description: This assignment tests your understanding of queues and your ability to use the STL queue adapter. The program you are asked to finish the implementation of simulates a shared printer. This printer uses a first-in-first-out queue. The simulation works by reading and processing a list of events from a data file. Each line in a valid data file contains information about a print job and a time when this job was submitted. Specifically, the information contained in each line is the time (in seconds) the job was submitted, the length in pages of the job, and the name of the computer from which the job was submitted. At the beginning of the simulation, each of these events should be read in by the program and stored in the inherited workload queue. The program should simulate the passage of time by incrementing a counter inside a for-loop or while-loop. The program should initialize this counter to zero and increment it by one second. A print job "arrives" when the current time of the simu
 Downloaders recently: [More information of uploader yangjin1989]
 To Search:
File list (Check if you may need any files):
printer\arbitrary.out
.......\arbitrary.run
.......\bigfirst.out
.......\bigfirst.run
.......\event.cpp
.......\event.h
.......\fifo.cpp
.......\fifo.h
.......\job.cpp
.......\job.h
.......\main.cpp
.......\simulator.cpp
.......\simulator.h
.......\simulator.rar
printer
    

CodeBus www.codebus.net