0

What's the difference between (aside from syntax I mean):

a)
typedef struct MyStruct{....};

b)
typedef struct{...}MyStruct;

I saw this example in "Thinking in C++", but there's no real explanation as to if they're exactly the same or if there's some real difference in them.

1
Contributor
1
Reply
2
Views
9 Years
Discussion Span
Last Post by necrolin
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.