J
johnny
Hi,. I have an arry like:
float arr[4][5];
I want to copy the content of each element in arr to this array
float target[4][5];
I know if I make this it will work:
for(i=0;i<4;i++)
for(j=0;j<5;j++)
target[j]=arr[j];
But, How could I make it also with memcpy ??? Or more simple wih another
function ?
Tnx
Johnny
float arr[4][5];
I want to copy the content of each element in arr to this array
float target[4][5];
I know if I make this it will work:
for(i=0;i<4;i++)
for(j=0;j<5;j++)
target[j]=arr[j];
But, How could I make it also with memcpy ??? Or more simple wih another
function ?
Tnx
Johnny