Click here to Skip to main content
15,917,005 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
Help me .
Read file of integers (each integer spaced tabs or spaces)
Example: 2 3 -4 0 -1 9
a) Build a binary search tree based on the positive integers given in the file (just add the integer tree).
b) Find the smallest number of trees, export display.
Updated 23-May-11 0:38am
Sergey Alexandrovich Kryukov 23-May-11 10:38am    
My 1 for the question. I explain the reason in my answer.
Stefan_Lang 23-May-11 11:07am    
I agree with SAKryukov. If you never even try to solve the simple problems you will never be able to solve the more complex ones.

You're welcome to ask about specific aspects of this problem that you're unsure about, or about the right syntax to use a specific C++ element, or the meaning of certain error messages that you get. But you won't learn a thing if you never even write some code yourself.

Share this answer
Sergey Alexandrovich Kryukov 23-May-11 10:38am    
Why?! Please see my answer -- it should be more useful. Yes, seriously.
This kind of homework is very important. You really need to do it all by your own to learn something; and this is very useful for your study. When you cheat on that, you rob yourself. This work would pay off very well in near future, don't ignore the gold opportunity of using some guidance you get from your school.

Share this answer
Stefan_Lang 23-May-11 11:01am    

I totally agree. When I'd given private lessons at school and later, when I was a tutor at university, I've learned that in most cases when someone doesn't understand, it wasn't due to the current lessons, but due to the fact they didn't understand the stuff that these lessons were building on.

You can't learn to run if you never learned to walk!
Sergey Alexandrovich Kryukov 23-May-11 11:16am    
Thank you, Stefan.
Your notes are great, by the way!
thanks for comment. I will complete my programming ability
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900