Click here to Skip to main content
15,908,254 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have task from my school, i should make program with non binary tree? can you suggest me?
Posted

I suggest you to code a multiway tree. :-)

You could grab your favourite book on algorithms and study the topic (even the oldie-goldie Wirth's would do the trick).
Then, if needed, check out your favourite book on C++ programming language and study it.
Finally: happy coding.
 
Share this answer
 
You need an idea which needs to use a tree whose nodes have an arbitrary number of children. You can implement a "family tree" in my opinion.
 
Share this answer
 
Comments
Nelek 13-May-14 5:11am    
Good tip

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900