Posted by Benjamin Johnston on 2000-02-05
I haven't programmed C for a long time (and I never really learnt it
properly in the first place), but as I was reading over some Windows C
programming documents, I came across "typedef struct".
Anyway, my question is... what is the difference between the following two
code snippets? (ie. do they do essentially the same thing?):
typedef struct tagMSG {
....
....
} MSG;
and the other one is:
struct MSG {
...
...
};
Thanks,
-Benjamin Johnston
s355171@xxxxxxx.xx.xxx.xx
To signoff send a mail to listserver@xxxx.xx.xx with
"signoff tcg" in the body of your message.
Previous post | Next post | Timeline | Home