cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
store value in tree
store value in tree
Aug 21, 2015 at 6:12pm UTC
AVM8
(56)
i would like to know how to store data in tree. Much appreciated of seniors help here. Thanks.
Aug 21, 2015 at 7:25pm UTC
AbstractionAnon
(6954)
That's pretty vague.
1
2
int
tree = 1;
// value 1 stored in tree
Not what you wanted? Did you mean a Binary Search Tree?
There are lots of examples of Binary Search Trees on this forum that can be found with a simple search.
http://www.cplusplus.com/forum/general/1551/
http://www.cplusplus.com/forum/general/11408/
http://www.cplusplus.com/forum/general/166187/
http://www.cplusplus.com/forum/beginner/164299/
http://www.cplusplus.com/forum/general/104977/
And many more. Just enter "BINARY SEARCH TREE" in the search box at the top of the page.
Aug 22, 2015 at 4:46pm UTC
AVM8
(56)
AbstractioAnon
Thank you my friend for the links you have given to me. Much appreciated.
Topic archived. No new replies allowed.