Thread: pointer help
View Single Post
Old Apr 4th, 2006, 9:42 PM   #58
cwl157
Professional Programmer
 
Join Date: Feb 2005
Posts: 346
Rep Power: 4 cwl157 is on a distinguished road
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.
cwl157 is offline   Reply With Quote