[LCP]Typedef Struct example from Marshall's site

Mike & Penny Novack stepbystepfarm at shaysnet.com
Wed Aug 8 01:08:03 UTC 2001


> Hey, but i'm not getting, how it resolves reference for
> struct ELEMENT at the above line?
> --

THAT much I think I can explain. It only appears that there is something
the compiler needs to resolve but that's a illusion. You are saying
"here goes a pointer to something" and all pointers are the same size no
matter what they point to. In other words, the structure ELEMENT is
going to compile the same regardless of what kind of thing "next" points
to.

Mike




More information about the linuxCprogramming mailing list