Trees

I have to build a tree, not a binary tree or any special tree. The instructions say build the tree i was given on a handout, pre-order traverse it and then print each node as it is received. I know for certain it cant be a binary tree because there are more than two children for some nodes. I just dont know where to start building this tree. I cant find info online and my professor is sometimes clueless. Any help would be appreciated.
1
2
3
4
5
6
7
class node{
   container<node> children;
};

class tree{
   node root;
};
Topic archived. No new replies allowed.