how to build a tree data structure with the built-in wxSTL?

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
www20602
In need of some credit
In need of some credit
Posts: 5
Joined: Thu Aug 14, 2008 8:43 am

how to build a tree data structure with the built-in wxSTL?

Post by www20602 » Sun Dec 28, 2008 2:21 am

an ordinary tree but a binary one

Frank
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 211
Joined: Sat Jan 01, 2005 6:19 pm

Post by Frank » Sun Dec 28, 2008 7:06 am

What is wxSTL? Never heard of it.

If you wann't a binary search tree, you can use std::set or std::map for unique items. For multiple items with the same keys there is std::multiset and std::multimap.

Post Reply