Step 1: Get the files
If you've ssh’ed into the GL servers, issue the following commands at the command prompt while you are in your directory for labs:
cp /afs/umbc.edu/users/c/m/cmarron/pub/cmsc202/lab7.zip . unzip lab7.zip(Note the '.' at the end of the command — that is very important.)
You should have a directory called lab7 with these files:
- buggy.cpp: a program with some buggy code.
- List7.h: the header file for the List class from Lab 6.
- List7.cpp: the implementation file for the List class — with a bug.
- List7test.cpp: the main program that exercises the List class.
You will not need to modify any of these files.