Constructors and Destructors

Video




create the class Computer

it has the data members
  int cores;
  double processor_speed;
  int drive_size;
  int ram;
  string processor_type;


default constructor
    set cores=0
    set processor_speed=0
    set drive_size=0
    set ram=0
    set processor_type="none"
    log start and end


parameterized constructor
   pass in values to initialize all members 
   ( int in_cores, double in_processor_speed,int in_drive_size , int in_ram, string in_processor_type)
   log start and end


copy constructor
  log start and end
  copy over all the data members from the other Computer object passed in
   
destructor
  log start and end

ToString()
	returns a string representation of the class

DO NOT PUT YOUR FUNCTION BODIES INSIDE THE CLASS 
put your class declaration in Computer.h and your function bodies in Computer.cpp

a Makefile, example  and a main.cpp ( do not change main at all ) have been provided for you

make sure you output to the console and logfile match the example