 <p>You can also use <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms687404%28v=vs.85%29.aspx" rel="nofollow">WriteConsoleOutput()</a> but you'll need to manage positioning of these characters explicitly as it doesn't use the cursor.</p>