C++ minimum string width
<p>Suppose I have</p>

<pre><code>string a = "foo";
</code></pre>

<p>How can I print <code>a</code> to the console using <code>printf</code> that ensure a minimum width, say, 10?</p>
