char[][] anArray; int rows, cols;
... anArray = new char[rows][cols];It isn't possible in this way because "rows cannot be read at compile time", which seems to me to be the point of dynamic arrays. :P
char[][] anArray; int rows, cols;
... anArray = new char[rows][cols];It isn't possible in this way because "rows cannot be read at compile time", which seems to me to be the point of dynamic arrays. :P