Thread
:
pointer help
View Single Post
Apr 4th, 2006, 5:28 PM
#
57
The Dark
Expert Programmer
Join Date: Jun 2005
Posts: 824
Rep Power:
4
Well done!
If you just want to indent by the number of levels a simple way would be:
(
Toggle Plain Text
)
for(int i = 0; i < level; i++) cout << "\t"
for(int i = 0; i < level; i++) cout << "\t"
Just put that before printing the data. (I just copied this from your commented out bits).
The Dark
View Public Profile
Find More Posts by The Dark