traffic
which does the simulation.
traffic.cxx:
This is the main program for the traffic light simulation.
You can start with the version in
"/afs/umbc.edu/users/r/a/rabi/pub/CMSC341/Proj3/traffic.cxx"
and add your name and other information at the top.
You'll have to read and understand all of this program, and you'll
implement the specified traffic
function.
makefile:
This is a makefile for the assignment.
The file should contain targets for things.o, traffic.o and
traffic (an executable file).
The source code things.cxx
is available in the locations listed below. Your makefile should
also include "all" and "clean" options--but there is no target
for the Queue template class!
"/afs/umbc.edu/users/r/a/rabi/pub/CMSC341/Proj3/link2.h" >
and
"/afs/umbc.edu/users/r/a/rabi/pub/CMSC341/Proj3/link2.template"
"/afs/umbc.edu/users/r/a/rabi/pub/CMSC341/Proj3/things.cxx"
Most of the information that you need for this assignment is in the traffic.cxx file.
Note, you don't need to copy the supporting files i.e. things.h, things.cxx, queue2.h, queue2.template, link2.h, and link2.template to your directories, just point to them in your makefile.
Submit your makefile and the modified traffic.cxx files.
There will be no questions with this project.