title: How to go up a line in Console Programs (C++)
body: <p>In C++ I'm trying to go back up a line to add some characters.
  Here is my code so far:</p>
  
  <pre><code>cout &lt;&lt; "\n\n\n\n\n\n\n\n\n\n\xc9\xbb\n\xc8\xbc"&lt;&lt;flush;
  Sleep(50);
  </code></pre>
  
  <p>As you can see, I have 10 newline characters. In my animation, a new block will be falling from the top of the screen. But I don't know how to go back up those lines to add the characters I need. I tried \r, but that dosen't do anything and \b dosen't go up the previous line either. Also, what exactly does flush do? I've only been programming in C++ for about 2 days so I'm a newb =P.</p>
  
  <p>Thanks so much!!!</p>
  
  <p>Christian</p>