So I want to make a program that asks for a password and if you get it wrong it loops but there is no right password you have to press a key like F5 or some key I choose then have that to be the password how can I do that? I'm using dev c++ to make this. If you didn't understand what I put just tell me what part and I'll try my best to explain it better.
On a Microsoft web site, is a list of virtual key codes, shown in hex. Just have your program keep looping with the password request, until which-ever key you chose has been entered.