Hi everyone,
I need to convert data from a structure into hexadecimal ascii format.
The structure is like this:
struct ROOM_DATA {
short room_number;
short floor_number;
long total_area;
char comment[42];
};
The structure has different data types so they would occupy different
number of bytes.
The question is if there is a way this data can be printed out in
hexadecimal ascii format?
I'm not sure if there are already functions in C which can do this or
I have to write one myself.
Thanks for any help given.