help to explain c++ binary tree

J

John Harrison

Jerry Khoo said:
hello, everybody, i am kinda new here, nice to meet u all. Now, i am

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,164
Messages
2,570,898
Members
47,439
Latest member
shasuze

Latest Threads

Top