Thanks for the above, it worked a treat, however, I've just developed my next problem:
I'm trying to allocate a customer object pointer to my int multi-dimensional array (as pointer addresses are int's), though its throwing up the following error:
error C2440: '=' : cannot convert from 'customer *' to 'int'
Here is the code for the function:
Code:
void setSeat(int,int, customer*);
void screen::setSeat(int xSeat, int ySeat, customer *cust)
{
seatsXY[xSeat][ySeat] = cust;
}