Make printf write faster to the Windows commandline
<p>I'm analyzing some high resolution midi data. I'm writing it to the stdout but since there is so much data coming in it takes seconds for them all to display after I did the actual action.</p>

<p>Currently this line writes to the commandline:</p>

<pre><code>std::vector&lt;unsigned char&gt; message;
...
printf("W 1 = %03d, W 2 = %03d, W 3 = %03d \n",(int)message[2],(int)message2[1],(int)message2[2]);
</code></pre>
