I’ve got a beginner’s problem:
class Snake
{
public:
int mapa[][];
Snake(int szer,int wys)
{
mapa[szer][wys];
}
};
I’m trying to do something like above(create array with size defined in the constructor), but it seams to be not possible in C++.
Is there any way to do this work?
yes: