Ok, have a look at the following code, which is throwing up the error:
error C2440: '=' : cannot convert from 'screen::newDim * ' to 'screen::newDim'
in the header file, i have the following:
Code:
typedef customer* newDim;
in the source file, i have the following:
Code:
//Set new row and columns pointer arrays
newDim *seatXY = new newDim[x];
for (int i=0; i<x; i++)
{
seatXY[i] = new newDim[y];
}
x any y have obviously been set at this point, I just basically need a multi-dimensional array holding pointers to references of object customer.
Any help would be greatly appreciated!!