C programming makes my head spin....
OK, in vanilla C (no +''s included), how can you define a struct that contains pointers to an object of the same type you are defining? Example:
In C++, this would work:
struct foo;
struct foo
{
int fooInt;
foo* fooPointer;
};
but it doesn''t in C. Can someone explain how you''d write that in C? Thnx in advnce.
"You TK''ed my chicken!"
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement