Hi

My program is supposed to implement a binary tree with an insert, remove, copy, pre-order, post-order and in-order views.

Problem is that my code compiles... but doesnt work. Could someone help me out.
Thanks.

I attached the code...

brownt7.h

a7.cpp

brownt7.cpp

elsiekins commented: inlcude your code in code tag not as download as they could be carrying virus that you do not know about +0

Recommended Answers

All 2 Replies

I suggest coming up with a very simple test case. Then you can compare the behavior to the expected behavior and hopefully track down your problem. If you still can't find the problem, you will be able to ask here with much more information of what is going wrong.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.