when i do that this is what it prints out
Quote:
Printing the heap...
0 78 55Printing the heap...
0 78 55
|
I need verticle spaces in there too. So when you turn the paper sideways it looks like a tree. I would show you what i mean but when i type it out in this forum everything is to the left and it ignores the blanks spaces i put in. But in this example it would have the 78 on the first line indented then on the next line it would have the 0 to the left and on the third line the 55 indented so when you turn the paper it looks like a tree with root 0.