I'm working on my personal project. What i wanna know is this
class Tile
{
private:
char mBlockTile[22][24];
I just wanna return that 2D array through getter, like
char* GetBlockTile()
{
return mBlockTile;
}
But i totally don't know how to do this. I modified data type of the function many times and tried to return 2D array, but it doesn't work. :( Please help as quickly as possible. Thanks!