well i had the 2d array but for some reason i need it to be dynamic now so it was like this
const int n=100; const int m=100;
float matrix1 [n][m];
and i tried to make it like this
int n,m ;
float** matrix1 = new int*[n];
for(int i = 0; i < n; ++i)
matrix1[i] = new int[m];
i need all the elements inside the array to be floats