... void spaces(int n) { for (int i=0; ileft, level-1); if (level==0) cout << t->data; else spaces(t->data.length()); printlevel(t->right, level-1); } void print(StringTree * t, int maxlevels) { for (int i=0; i