title: Why Is Horizontal Tab not working for C++ cout?
body: <p>I have this simple output statement:</p>
  
  <pre><code>cout&lt;&lt;"John\tWilliam\tSmith"&lt;&lt;endl;
  </code></pre>
  
  <p>However, when I compile and run the output I get is slightly off. For example,</p>
  
  <pre><code>John   William Smith
  </code></pre>
  
  <p>The first tab works correctly, but the second tab seems to be ignored for some reason. Any help?</p>