Hello I am making a personal program that I can keep secret info, browse the web, play music, change the password, and a lot more. My problem is that when entering the password it won't let me use the backspace. (THE PASSWORD IS MASKED.)
Is there any way to make the backspace not be counted as a char and actually delete a char?
Please help me and thank you in advanced for anyone who does help.
I Mean,Didn't You Just Ask How To Change Passwords On Websites?That Is Illegal if That's what you Mean.But Anyways,You Need To Use An Addalce Character,Sort Of Like The '\n' Thing.I Forget Which One Though.Example:
1 2 3 4
#include <iostream>
int main(){
std::cout <<"He \n He";
}
Then do what you want with it. For example, instead of my literal in the password check, use a string, call it right_password or something like that. Have it defined in a hard-to-open file where the program can go get it (#include <fstream>). Then, under the password change section, use the same principle using getch() instead of _getch() and ignoring the cout in the password check.