A
Andreas Lassmann
hi there, i've got a problem:
can i create a dynamic array like this?
pMap = new char[mapX][mapY];
gcc (my compiler) sais, it's wrong...
i know that dynamic memory is more often used in this way:
pMap = new char[mapX];
but i need a second element...
can somebody help?
can i create a dynamic array like this?
pMap = new char[mapX][mapY];
gcc (my compiler) sais, it's wrong...
i know that dynamic memory is more often used in this way:
pMap = new char[mapX];
but i need a second element...
can somebody help?