I currently got this 2 lines on the outfile text file:
I want to display "D" on the 28 column(space) in both lines. I don't want to use setw() because I want both lines to be align on the same position, so D and D are shown on a straight vertical line (D sits on top of D). Also I want the Cr to be left-adjusted, so this is what I mean:Code:s1012 Bennet, Anne D 56.20 P
s3343 Johnson, Samuel D 68.60 Cr
C should be on the same vertical line as P, NOTCode:P
Cr
What is the code to do such alignment?Code:P
Cr