i have a program, which uses a password inputation but when i made the password encrypted. when inputting my password which now appear as star(***) due to encryption. trying to delete a character but backspace is being read as a character. please can someone show me the way forward... thanks
cout << "Password: ";
encrypt = _getch();
while(encrypt != 13)
{
Password.push_back(encrypt);
cout << '*';
encrypt = _getch();