0

As many people might of come across this problem when creating a bank account program, passwords are annoying, having to convert them to * and then back again to letters to check if they are correct. That is my exactly my problem. Has anyone come across this problem, and how did you fix it. If you're looking for me to say about research, I've looked in nearly every c++ forum and absolutely found nothing on converting back from * to letters, but the opposite way around. Thank you for your help.

  • 4
    Passwords aren't *converted*, they're just displayed as things like • in the field. Whatever are you trying to do here? – tadman Jan 02 '17 at 10:38
  • @tadman I think I know how to make the input into `*` but not back to chars again. – Bramwell Simpson Jan 02 '17 at 11:40
  • @BramwellSimpson Didn't you read the duplicate? You do not "make the input into `*`" - you store the input as normal, but print `*` instead of echoing the input. – molbdnilo Jan 02 '17 at 12:25
  • Once you change something to `*` there is no going back. Remember **display** and **storage** are two different things. – tadman Jan 02 '17 at 21:58

0 Answers0