12
const TYPE* GetData( ) const; TYPE* GetData( );
1234567
CArray<CPoint,CPoint> myArray; // Allocate memory for at least 32 elements. myArray.SetSize(32, 128); // Add elements to the array. CPoint* pPt = (CPoint*) myArray.GetData();