I have a point, let's say a 3D.
Of course the coordinates can be any value in Real.
I want them to be printed nicely.
I used (from std) filled, setw, width, left, right, internal and more but I can not get what I want. I can do it with printf, but I want to learn the C++ way.
For example, if I have:
I want to be printed like this:Code:-1 2 1.68787 1.132536 4 21.3
In other words, I want the coordinates to be alligned.Code:-1 2 1.68787 1.132536 4 21.3