how to turn off setfill()

Nov 30, 2009 at 11:52pm
I'm using the iomanip setfill() to format one field in my output to a file. The problem is that every field after the setfill() command also uses the same fill character '0'. How do I turn this off and then back on when I come back to that field?
Last edited on Nov 30, 2009 at 11:52pm
Dec 1, 2009 at 12:09am
maybe setfill space?
Dec 1, 2009 at 1:04am
Either that or setw(0).
Dec 1, 2009 at 1:14am
setfill(' ') did it, thanks
Topic archived. No new replies allowed.