Is there a way to manipulate the output on the console screen so that a horizontal list is aligned neatly? For example:
My output currently:
XXXXXXXX____XXXXXXXX____XXXXXXXX____XXXXXXXX____XXXXXXXX____XXXXXXXX
____XXXXXXXX____XXXXXXXX____XXXXXXXX____XXXXXXXX____XXXXXXXX____XXXXXXXX
I need it to look like this:
XXXXXXXX____XXXXXXXX____XXXXXXXX____XXXXXXXX____XXXXXXXX____XXXXXXXX
XXXXXXXX____XXXXXXXX____XXXXXXXX____XXXXXXXX____XXXXXXXX____XXXXXXXX
I am somewhat familiar with iomanip...we have used setw, setfill, setprecision, and a few others. I had not seen one yet that can do what I was explaining above, or I haven't manipulated enough times to really grasp what the tools can do...if you are saying that can work, i will mess around with it a bit more. Thanks for your help! I'll let you know if i have any other questions!
Hmmm, i guess a clearer way of saying what I am trying to accomplish is:
I have a file that has x number of lines of data. I want to display that data on the console horizontally, with 5 customerIDs on each horizontal line. So i need some sort of loop that will print the first 5 on one line, then the next 5 on the second line, so on and so forth...