// main for point Class

#include <iostream>
using namespace std;

#include "point.h"

int main(void)
{

  Point p(1,2);

  Point a;

  cout << "p = ";
  p.print(); 
  cout << endl;

  // not legal to do 
  //     cout << p.print(); 

  cout << "a = ";
  a.print(); 
  cout << endl;
  
  // Now we introduce another kind of constructor.

  Point b(a);  // invokes the copy constructor

  return 0;
}
































