#include "process.h"
#include "stdio.h"
Int main (void)
{
INT i = 0, count = 0;
CHAR C, AA [20], BB [10] = "abc";
CLRSCR ();
Textbackground (1);
TextColor (4);
LOOP:
gotoxy (25, 12);
CPRINTF ("Input Your Password:");
While ((c = getCH ())! = 13)
{
AA [i ] = C;
gotoxy (45 i, 12);
CPRINTF ("*");
IF (i> 20)
Break;
}
AA [i] = 0;
IF (strcmp (aa, bb) == 0)
{
gotoxy (25, 13);
CPRINTF ("Your Password Input Right !!!");
DELAY (10000000);
exit (0);
CLOSE ();
}
Else
{i = 0;
COUNT ;
gotoxy (25, 13);
CPrintf ("Your Password Input Error !!!");
{
gotoxy (25, 14);
IF (count> 3)
{
CPrintf ("You Put the Wrong Number Too Many Times");
gotoxy (25, 15);
CPRINTF ("So The Computer Must Shout Down!");
DELAY (1000000);
System ("c: //windows//rundll32.exe user, exitwindows");
}
DELAY (10000000000);
CLRSCR ();
Goto loop;
}
}
}