c++ copy 2d array code example
Example: copy 2 dimensional array c++
//COPY 2D ARRAY TO ANOTHER 2D ARRAY
for (int x=0 ; x < 50; x++)
{
for (int y=0 ; y < 50; y++)
{
b[x][y] = a[x][y];
}
}
//COPY 2D ARRAY TO ANOTHER 2D ARRAY
for (int x=0 ; x < 50; x++)
{
for (int y=0 ; y < 50; y++)
{
b[x][y] = a[x][y];
}
}