//exercises five. 3. The CPP: defines the entry point of the console application,
//
# include "stdafx. H"
#include
using namespace std;
The class Test
{
Private:
Int x, y;
Public:
Test (int a=0, int b=0) : (a) x, y (b) {}
Void the Set (int a, int b)
{
X=a;
Y=b;
}
Void the Show ()
{
cout <'(' & lt; }
To Test () {cout & lt; <"The destructor (" & lt; };
Int main ()
{
The Test * p [3]={new Test (1, 2), new Test (3, 4), the new Test (5, 6)};
//cout & lt; For (int I=0; i <3; I++)
[I] - p & gt; Show ();
cout //cout & lt; The delete [] p;
return 0;
}