I'm not sure the proper terminology for this alignment in c++, but in MS Word, it's called right alignment. I want to get able to have text end at a certain spot on the right no matter what is printed. Example..
1 2 3
//................................This is some text.
//.....This is more text, but ends in the same spot.
//...................This is even more example text.
Important note, that's not 3 separate lines. That's 3 possible outputs for one single line all ending at the same right margin no matter the length of the output.
Is this possible?
(and the periods shouldn't be shown in the program.)