I have a vector filled with 52 elements and I want to print them into 3 columns. How would I do that? I mean, I can print them with some loops and have spaces in between but I thought there had to be a better way... Any suggestions would be greatly appreciated!
No loops is how it should be done. I suppose you could also define your own stream class and a new set of manipulators, but that is kind of complicated for something easily done with loops.