I have two different twodimensional matrixes of the same size
Now I am only using one of them at a time, the other serves as a storage matrix in the mean time. So I wan't to have a pointer pointing to the one currently in use. I have tried this:Code:Square Matrix1[MTR_WIDTH][MTR_HEIGHT];
Square Matrix2[MTR_WIDTH][MTR_HEIGHT];
But it doesn't work, "conflicting declaration 'Square*CurrentMatrix[160][120]' ".Code:Square *CurrentMatrix[MTR_WIDTH][MTR_HEIGHT] = Matrix1;
I have tried some different ways but can't figure out how to write it. Can someone help me please?