Getting the Files

If you've ssh’ed into the GL servers, issue the following command at the command prompt while you’re inside your lab9 directory:

  cp /afs/umbc.edu/users/c/m/cmarron/pub/cmsc202/lab9.zip .
  unzip lab9.zip
(Note the '.' at the end of the command — that is very important.)

You should have the following files:

  1. Shape.h: The Shape class definition.
  2. Shape.cpp: The Shape class implementation.
  3. Rectangle.h: The Rectangle class definition
  4. Rectangle.cpp: The Rectangle class implementation
  5. Triangle.h: The Triangle class definition
  6. Triangle.cpp: The Triangle class implementation
  7. Lab9.cpp: This will contain the driver program.