// main.cc  P. Conrad CISC181 Spring 2005 
// illustrate error message when + is not overloaded

#include "time.h"
#include "duration.h"
#include <iostream>
using namespace std;

int main(void)
{
  Time_C start(13,25); // start time is 1:25pm
  Duration_C howLong(0,50); // class lasts 50 minutes
  Time_C end = start + howLong; // class ends at 2:15pm
  cout << "end = "; end.print(); cout << endl;
  return 0;
}
