So Im trying to write this thing. I have a few lines of code that look like this:
Code:
char a [30]; // User Input (password)
char b [30] = "password"; // Actual password
cout << "Enter Password to close program: ";
cin.getline (closea,30); // Gets User Input (password)
if (strcmp (closea,closeb) == 0) // Compares the two strings
{
etc... // Does the stuff
}
"b" is supposed to be a password, currently set to password. I was wondering if anyone knows a way to get tha characters to show up as "*" when they are typed instead of letters? Its not necessary, but it would be nice to have it that way, for secrecy purposes.
________________________________________________
________________________________________________
________________________________________________
I have another quickie. Is there any way to get a program to send an e-mail. Any insite into this subject would be greatly appreciated.