如何将结构体里的数据打印出来
typedef struct{
short SoeTieDian;
short SoeMS;
short station_mod;
short fault_delay;
short para_set;
short reserve_s6;
short reserve_s7;
short reserve_s8;
short DatBySCD;
short reserve_s10;
float reserve_f1;
float reserve_f2;
short AVC_delay;
short AVC_YK_timeout;
char reserve_c[36];
}Share_SwitchS_F0;
例如结构体变量是这个样子的,我如何把这些量以结构体的形式打印出来,16进制的数也可以。像Share_SwitchS_F0=xxxxxxxx。这种整体输出