468,507 Members | 1,576 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,507 developers. It's quick & easy.

help to explain c++ binary tree

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
1 3067

"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.

Similar topics

8 posts views Thread by Jerry Khoo | last post: by
1 post views Thread by Jerry Khoo | last post: by
4 posts views Thread by Tarique Jawed | last post: by
66 posts views Thread by genestarwing | last post: by
1 post views Thread by satan | last post: by
memoman
4 posts views Thread by memoman | last post: by
3 posts views Thread by KLonergan | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.