the program reads from memory each variable has 4 bytes and it is stored in a dummy variable, then moved to a matrix.
i know it is possible to just store it directly to the matrix but i don't know how could somebody assist please.
int i,j=0,k,z=0;
for (i=7; i < 248; i+=4)
{
memcpy(&read,&memblock[i],4); xx[j++]=read;
}
6 * 10 matrix
for(j=0; j < CALROW; j++)
{
for(k=0; k < CALCOL; k++)
{
temp[j][k]= xx[z++];
}
}
thanks