Can you have a linked list data member inside a struct?

Can you have a linked list as a data member inside a struct? I have something set up like this:

1
2
3
4
5
6
7
struct Node
{
  int data;
  Node * moredata;
  Node * next;
  Node (int d):data(d), moredata(NULL), next(NULL){}
}


Is it possible to make Node * moredata a linked list and how would you print out its contents? I've tried a dozen different ways but none output to the screen. Thanks!
This is basically a binary tree.. I'm not sure how should a printed binary tree even look..
Topic archived. No new replies allowed.