Such as topic, how to declare the UNION in vb data structure
CodePudding user response:
Structural prototype
Typedef struct { Int dDev; Int dPort; Int dBaud; Int dbeep; The union { Int served1; Struct { Int served2; Byte served2_2 [24]. Byte served2_3 [3076]. }; }; } LtReader, * PLtReader;
CodePudding user response:
For each great god to give directions
CodePudding user response:
First of all is not, Secondly you this union is really boring, served1 and served2 identical, directly on {int, byte [24], byte [3076]} structure definition of good, to what the union,