title: C - Remove and replace printed items
body: <p>I'm writing a program in C compiled in gcc.  The question relates to homework, but the specific part I need help with is not part of the homework assignment.  A similar question was asked <a href="https://stackoverflow.com/questions/5290994/python-remove-and-replace-printed-items">Python - Remove and Replace Printed items</a>, but I'm not using Python code.  I've written most of the homework assignment, and now I'm trying to add features.</p>
  
  <p>The first issue I'm trying to do is print out some text onto the screen, then remove that text, then print out new text onto the screen in the same spot where the first text used to be.</p>
  
  <p>For example, I would like the program to print "Quick brown fox", then remove from the screen "brown fox", then print "green fox" where 'brown fox' used to be, so that "Quick green fox" is displayed lastly on screen in the same location </p>
  
  <p>The other issue is to have the program respond to user inputs without using the enter key.</p>
  
  <p>I think these features are possible, since I've run a program called Joe's Own Editor from my system.  In it, I can press ctrl-C, which functions like an exit command, and a message is displayed "Lose changes to this file y,n,^C)?"  If I then press "n", and only "n", the "Lose cha..." message is removed from the screen and the cursor location is adjusted.</p>
  
  <p>Thanks.</p>