Visualize a tree: Difference between revisions

m
m (in the code)
Line 70:
 
typedef struct stem_t *stem;
struct stem_t { const char *str; stem next; };
 
void tree(int root, stem head)
{
static const char *sdown = " |", *slast = " `", *snone = " ";
struct stem_t col = {0, 0}, *tail;
 
Anonymous user