I tried searching and couldn't find anything, so I'm sorry if this has been posted before. I need help aligning output at the command line. I want to make even columns, but can't figure out how to do it.
Attached is a screenshot of my current output. I want the code to automatically handle the alignment for nodes 10 and 11, and triple digit numbers if it got that high, and so on and so forth. Is there an output stream class or anything like that that would help me with this?