• Advertisement


This topic is now archived and is closed to further replies.

binary trees

This topic is 6063 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

okay, i''ve set up a tree: struct node { node *left,*right; char *name; } and i want to draw it from top-down in the dos version of allegro the names are all ~4 characters long but i don''t want to specify a field length. my attempt doesn''t space the nodes very nicely and it randomly skips some of them any suggestions? like a new algorithm or an example? thanks!

Share this post

Link to post
Share on other sites

  • Advertisement