ASTERISK HELP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
void Log_In()
{
system("cls");
gotoxy(30, 30);
time_t now;
time(&now);
printf("\t\t\t\t\t\tToday is %s",ctime(&now));
cout<<endl;
cout << "\t\t\t\t\t\t\t\t\t\tLOG IN" << endl;
cout<<endl;
cout << "\t\t\t\t\t\t\t\t\t\tUsername: ";
cin >> acct.userLog;
cout << "\t\t\t\t\t\t\t\t\t\tPassword: ";
cin >> acct.passLog;
if (strcmp(acct.userLog, acct.userReg)==0 && strcmp(acct.passLog, acct.passReg)==0)
{
cout << "\t\t\t\t\t\t\t\t\t\tAccess Granted!";
Sleep(1000);
system("cls");
}
else
{
cout << "\t\t\t\t\t\t\t\t\t\tAccess Denied! Please try again.";
Sleep(100);
system("cls");
int x;
int y;
{
system("color 4c");
cout<<"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n";
for (x=3;x>=1;x--)
{
cout<<"\n\n\n\n\t\t\t\t\t\t\t\t\t\tWARNING!! Intruder Alert!!\n\n\n";
Beep(3000,2000);
}
system("cls");
system("color 3b");
account_Options();
|
Guys please help me to produce a password field with asterisk ****** thanks
Last edited on
Topic archived. No new replies allowed.