That was certainly not much of a clarification. But the code I gave you in my previous post sets the value of all empty nodes to 1. Isn't this what you wanted? Anyway, the sample code should give you the idea on how to proceed with this. Bottom line: You need to set the values yourself based on your own custom logic.
Please remember to mark helpful posts as answer to close your threads and then start a new thread if you have a new question. Please don't ask several questions in the same thread and please don't expect anyone to write an entire function, class or application for you in the forums. That's not what they are for :)
No comments:
Post a Comment