title: How to delete an already written character in C++ console
body: <p>I'm trying to make a C++ program to read a password.
  I made the program to cout <code>*</code>, not the characters I write but my problem is when I want to delete character because they're wrong.<br>
  <strong>Example:</strong>
  My constant password is <code>12345</code><br>
  If I enter <code>1235</code>  the program will show <code>****</code> and I have to delete the last character. It's simple to remove it from the string but I want the last <code>*</code> to disappear from the console just as it happens when you introduce you windows password.<br>
   Is it possible? If it is, can someone explain how?</p>