954,496 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Help... my program doesn't run

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

Attachments brownt7.h (2.01KB) a7.cpp (2.26KB) brownt7.cpp (5.98KB)
schoolboy2010
Light Poster
41 posts since Jan 2010
Reputation Points: 10
Solved Threads: 1
 

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.

daviddoria
Posting Virtuoso
1,996 posts since Feb 2008
Reputation Points: 437
Solved Threads: 204
 

Hi
I apologize for attaching the code instead of pasting it...
I dont know how to edit my post so I posted this question in a new thread....
http://www.daniweb.com/forums/thread328276.html

I'll also appreciate this thread being closed too.
Thanks.

schoolboy2010
Light Poster
41 posts since Jan 2010
Reputation Points: 10
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: