// demoCdt.cc   P. Conrad CISC220 06J
// demo how constructors and destructors work... when they get called
// This example includes inheritance...  the Cdt_C class inherits from
//   the CD_C class.

#include <iostream>
using std::cout;
using std::cerr;
using std::endl;


#include "cdt.h"

int main(void)
{
  Cdt_C a;

  cerr << a << endl;

  Cdt_C b(1000,"Shay Dog's Greatest Hits",8,30);


  cerr <<"Before anonyous object "<< endl;

  cerr << Cdt_C(1,"Ben",16,30) << endl;

  cerr <<"After anonynous object "<< endl;

  return 0;
}
