![]() |
| ||
| Binary Tree Added binary Tree just to help others..... #include<stdio.h> |
| ||
| Re: Binary Tree That program is actually quite awful. I doubt it would be helpful to anyone interested in learning proper C. On the plus side, the binary search tree code looks decent, though I wouldn't recommend recursive algorithms when they don't buy you anything. |
| ||
| Re: Binary Tree im Student!! :) there might be some mistakes... but as im a student and i have made this so i thought that perhaps it could be helpful |
| ||
| Re: Binary Tree >im Student!! That's obvious from the conventions used in your code. >there might be some mistakes... There are a lot, actually. I don't have the time to point them all out right now, but I will when I can. That way everyone can learn, including you. >so i thought that perhaps it could be helpful I applaud you for it, but keep in mind that bad code is less helpful than no code. It teaches others bad habits and poor practices. Since you're a student and you clearly recognize that you're not an expert, maybe it would be better to ask for advice on how to improve your code rather than just posting it with the implication that others can learn from it. |
| All times are GMT -4. The time now is 2:40 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC