title: How can I easily format my data table in C++?
body: <p>I'm not sure, but I think I remember there being something in Java that can specify how far from the left of a window that a string or digit begins.. </p>
  
  <p>How to easily format a table?
  I have this (using setw):</p>
  
  <pre><code>Bob Doe     10.96      7.61     14.39      2.11     47.30     14.21     44.58      5.00     60.23
  Helen City     10.44      7.78     16.27      1.99     48.92     13.93     53.79      5.00     70.97
  Joe Green     10.90      7.33     14.49      2.05     47.91     14.15     44.45      4.70     73.98
  </code></pre>
  
  <p>and ideally would like:</p>
  
  <pre><code>Bob           Doe        BLR  10.96   7.61  14.39   2.11  47.30  14.21  44.58   5.00  60.23  4:27.47
  Helen         City       CUB  10.90   7.33  14.49   2.05  47.91  14.15  44.45   4.70  73.98  4:29.17
  Joe           Green      USA  10.44   7.78  16.27   1.99  48.92  13.93  53.79   5.00  70.97  5:06.59
  </code></pre>
  
  <p>Is the only way calculations? Or is there some magical even more simple way?</p>