Hello guys,
I'm working on one plugin a I need to help with my code. I have a syntax to list the 4x4 matrix in row, but need to a 4x4 matrix by columns.
For example (in row):
FF 08 69 64
0B 53 34 14
84 BF AB 8F
4A 7C 43 B9
I want this (in columns):
FF 0B 84 4A
08 53 BF 7C
69 34 AB 43
64 14 8F B9
PHP Code:
void function(unsigned char* inpole, int inMod, int inIndex)
{
int i;
switch(inMod)
{
case 0:
{
for(i=inIndex*4; i<inIndex*4+4; i++)
printf("%02x ", inpole[i]);
printf("\n");
break;
}
case 1:
{
HERE
printf("\n");
break;
}
default: break;
}
}