Whats the difference between doing:
andCode:typedef struct myStruct { int a; int b; };
They both seem to do the same thing and produce the same results:Code:typedef struct { int a; int b; } myStruct;
Code:myStruct ms; ms.a = 3; ms.b = 4;