Please, I need an active solution for 2-Dim dynamic array, the code I have written is that:
int x , y; // size of the the array (Array)
char* array = new char [x][y]; // Decleration of the Dymamic array
There is syntax error in the decleration of the array, while I was declaring 1-Dim dynamic array there wasn't any syntax problem, and I have declared it as follow:
int x; // size of the the array
char* array = new char [x]; // Decleration of the Dymamic array
That code for the 1-Dim array have been compiled without any syntax or symantic error.