Source of testapp.cpp


  1: // Filename: TESTAPP.CPP
  2: // Purpose:  Test driver for the Appointment class.

  4: #include <iostream>
  5: using namespace std;

  7: #include "APPOINT.H"
  8: #include "PAUSE.H"

 10: int main()
 11: {
 12:     cout << endl;

 14:     Appointment ap1;
 15:     ap1.Display();  cout << endl;
 16:     Pause(0);  cout << endl;

 18:     Appointment ap2("Bill Gates", 7, 25, 30);
 19:     ap2.Display();  cout << endl;
 20:     Pause(0);

 22:     return 0;
 23: }