ive seen this a lot, and i have a friend that recently adopted the habit without knowing why its done.
what i am referring to is this:
making a typedef of the struct rather than just letting the struct be its own definition.Code:typedef struct _tagNameOfStruct { // stuff } NameOfStruct;
can someone explain to me the purpose/benefit of doing it this way?