Test Files
and Extra Credit (source)
Instructions:
-
Copy the file p2.1.tar to
your project directory
-
Untar p2.1.tar
-
Read the file extra.txt to
checkout the extra credit part
-
Files test2.in and test3.in
have additional tests you must pass to get at least 70% of the grade
-
Files test2.out and
test3.out have the output for the respective input files
NOTE:
You need to add a case statement in the switch statement found in file
moviedb2.cc in order to handle the case for the bonus (find_movies_prefixed()).
The moviedb2.h file has the proper constant for this case statement.
NEW MAKEFILE:
Use this Makefile
to submit you program. It adds the extra credit part to the tar
file
NEW
QUEUE.CC: The original queue.cc had an undeclared variable.
To fix the problem follow these instructions:
BUG
in Project 3 - Option add_cast_member on DataManager will
not add cast members correctly due to a problem with the queue. Just
make sure that your solution works like mine! That is, it adds the
movie, and shows the message, but then you cannot see the movie when you
print the movies. The problem had to do with a copy assignment operator
in the queue class.