How to implement a general tree?

Hey guys, I know how to implement a BST, but I have no idea how to implement a general tree. Could anyone please help me? Thanks.
What is a "general tree"?

We can help you (find resources to) implement trees, but what trees?

I have used the Boost Graph Library in the past for trees. Its interface isn't consistent with the standard containers because graphs are too general (e.g., there's many ways to iterate over a graph.)

http://www.boost.org/doc/libs/1_61_0/libs/graph/doc/

Last edited on
Topic archived. No new replies allowed.