title: Whenever I try to use setfill manipulator in C++, it just displays blanks
body: <p>This is my code for just trying to fill the spaces with <code>*</code>:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;iomanip&gt;
  
  using namespace std;
  
  int main() {
      cout &lt;&lt; setw(10) &lt;&lt; setfill('*');
      cout &lt;&lt; endl;
      system("pause");
      return 0;
  }
  </code></pre>
  
  <p>However the program just displays blanks, in other words it just displays an empty line!</p>
  
  <p>So please, what's wrong with it?</p>
  
  <p>Note: I tried to compile on VS 2015 and GCC 4.9.2 and got the same result.</p>