Point *ptr1;
Point *ptr2;
Point *ptr3;
Point **ptr4;
Point *ptr5[];
ptr1 = new Point; // calls the default constructor
ptr2 = new Point(7,200); // calls the constructor that takes 2 int arguments
ptr3 = new Point[N]; // For arrays
delete ptr1;
delete ptr2;
delete [] ptr3; // For arrays
int *ptr1 = NULL;
You may need to include the stdlib system header.