// complex.h  A class for Complex Number
// P. Conrad for CISC181, Spring 2006

#ifndef COMPLEX_H
#define COMPLEX_H


// The _C is just a naming convention.
// Just like we used Workout_S to indicate a struct
// that represented a workout... the _S just reminded us
// that is was a struct.

// You won't see the _C anywhere, probably, except Conrad's code.

// However, you will see various folks with various naming conventions...
// The important thing is to follow the naming convention of
// the organization you are a part of.

// One thing is is VERY typical though.. is capital letters for names of
// structs and classes, lowercase for names of variables, and functions

class Complex_C
{
 public:
  Complex_C(); // constructor... always same name as the class.
  
  // getters and setters

  void setReal(double aVal);
  void setImag(double bVal);
  double getReal(void) const;
  double getImag(void) const;
  
  void print(void) const; // print the number on cout

 private:

  double a; // real part
  double b; // imaginary part


};



#endif
