On 2/11/11, Steven Schveighoffer <schvei...@yahoo.com> wrote: > struct Node > { > int id; > string myName; > Node *parent; // only needed if you want to go up the tree. > Node *[] children; > } > > -Steve >
What are the benefits of using struct pointers instead of classes in this case?