By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,411 Members | 999 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,411 IT Pros & Developers. It's quick & easy.

help to explain c++ binary tree

P: n/a
hello, everybody, i am kinda new here, nice to meet u all. Now, i am
cs students and are now facing difficult problems in understanding
what a binary tree is, how it works, and the algorithm to display,
arrange, find, delete the leaf node in binary tree.

I hope that anyone with expereince in building binary tree could help
me in explaining the binary tree functions, and give a sample code of
the whole picture behind the tree. And further more, i would like to
know what is the usage of binary tree in real world.

Kindly, thanks to anyone who helped me, and thanks for the grudges of
reading my whole message, thanks to everyone

Jul 22 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"Jerry Khoo" <je*********@yahoo.com> wrote in message
news:b6*************************@posting.google.co m...
hello, everybody, i am kinda new here, nice to meet u all. Now, i am
cs students and are now facing difficult problems in understanding
what a binary tree is, how it works, and the algorithm to display,
arrange, find, delete the leaf node in binary tree.

I hope that anyone with expereince in building binary tree could help
me in explaining the binary tree functions, and give a sample code of
the whole picture behind the tree. And further more, i would like to
know what is the usage of binary tree in real world.

Kindly, thanks to anyone who helped me, and thanks for the grudges of
reading my whole message, thanks to everyone


Really there is no such thing as a C++ binary tree. Binary trees are the
same whatever language you are using. There's nothing special about the way
you would do a binary tree in C++, it would be the same in any other
language too. So your question is not really a C++ question and is off topic
here. Perhaps your could try news:comp.programming if you really want to
learn about binary trees (but really I would suggest a good algorithms
book).

Also I think that if I gave you sample code that implemented a binary tree
you would learn precisely nothing. It would be much better for your learning
to have a go at this problem yourself. If you get stuck and have some C++
code to show us, then we can surely help.

john
Jul 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.