title: snprintf with "%0*d" , too few arguments
body: <p>I needed to dynamically generate a string like the following:</p>
  
  <blockquote>
    <p>001 / 192</p>
  </blockquote>
  
  <p>However , the number of digits varies , thus i must define another variable , called print_width , which is , in this case: 192 % 10</p>
  
  <pre><code>snprintf ( statusString , 30 , "%0*d / %0*d" , snprintf_width , completed[tid] , total[tid]);
  </code></pre>
  
  <p>The code above posed a compiler warning: too few arguments , and not working</p>