This is what I threw together using your suggestion. I'm using VC++ 5 I think ... I added code to deal with backspaces and output asterisks for characters...
#include <conio.h>
#include <iostream.h>
void getpasswd()
{
char inchar = 0;
char password[20]={0} ;
// Necessary to make sure...
I'm wondering how to get input from the keyboard without echoing the characters to screen ...
Help?
So you know, I'm fairly new at programming
Thanks,
Nikolai
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.