Ok, i need some explanation:
what does it mean? a pointer to a MyClass array?Code:MyClass *Human[10][10];
one interesting thing is that i'm able to do that:
but when i tryed this:Code:for (unsigned int uiRow = 0; uiRow < 10; ++uiRow) { for (unsigned int uiCol = 0; uiCol < 10; ++uiCol) { Human[uiRow][uiCol] = 0; } }
I get an error: invalid conversion from "int" to "int*"Code:int *numbers[10][10]; for(int i=0;i<10;i++){ for(int j=0;j<10;j++){ numbers[i][j] = i*j; } }
Any help?