Using setfill()

How is setfill() used? I am trying to use it for a school assignment, but it is not doing anything.
Learn to use references:
http://en.cppreference.com/w/cpp/io/manip/setfill
http://www.cplusplus.com/reference/iomanip/setfill/
Usually used with setw() to tell what character should fill empty space
Topic archived. No new replies allowed.