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 lab8 directory:

cp /afs/umbc.edu/users/p/a/park/pub/cmsc202/fall14/lab8/* .
(Note the '.' at the end of the command--that is very important.)

You need to get the following files:

  1. Complex.h: The Complex class is defined in this file.
  2. Complex.cpp: You need to implement the operator functions in this file. The constructor and accessors are already provided to you.
  3. Lab08.cpp: This is the driver program provided to you; you do NOT need to modify this. It asks the user to input two complex numbers. It then displays the negation of each complex number along with their addition.