setfill


[ Follow Ups ] [ Post Followup ] [ CS1044 Web Discussion Board ] [ FAQ ]

Posted by bernard farley on October 04, 2001 at 10:59:10:

shouldnt the following commands:

out << right << setw(2) << setfill('0') << 5;

produce the following output:

05

????
well, if it should, its not working in my program...its instead filling the whole entire output with 0's

please help!

- bernard


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS1044 Web Discussion Board ] [ FAQ ]