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.

Never mind. I found a good explanation on the net.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.