Still not too sure what your asking, but here goes...
1) The generic treeprinting program2) If you want a graphical tree, might I suggest something using ASCII characters 179, 192, and 195? You know, just do those to draw lines from nodes to their children, with each node being on a different line. It's not spaced out as a tree diagram usually is, but it does have connectivity lines, which is the importatnt thing, personally.Code:void printtree(node * tree) { if (tree != NULL) { print (tree -> info); // Not a real command printtree (tree -> left); printtree (tree -> right); } }