[ad_1]
Not very hard, all you need is a loop and a cast to make sure your numbers are unsigned
for (int i = 0; i < 16; ++i)
printf("%02X", (unsigned char)data[i]);
4
[ad_2]
solved Extracting hex numbers from char array [closed]
[ad_1]
Not very hard, all you need is a loop and a cast to make sure your numbers are unsigned
for (int i = 0; i < 16; ++i)
printf("%02X", (unsigned char)data[i]);
4
[ad_2]
solved Extracting hex numbers from char array [closed]