|
|
|
|
default_array[i][j] = Aij;// where 0<=i<X and 0<=j<Y
int DisplayArray(char** darray, int x, int y)
DisplayArray(default_array, X, Y);
|
|
I initialized my default_array like this to make it empty |
default_array[i] = new char[Y](); // allocate and fill with '\0'
delete[]
s, if you must do this instead of normal containers.