password

xiaoxiao2021-03-06  77

#include

#include

#define lc 12

INT MI_WEN [5] = {'w', 'h', 'Z', 'f', 'V'};

Union {

Int S;

CHAR CH [2];

SEC;

Void JIA_MI (int SECRET [LC]) {

INT J, I = -1;

For (j = 0; j

i = (i 1)% 5;

Secret [J] = mi_wen [i];

IF (Secret [J]> 122) {

Secret [J] = (Secret [J] 1)% 90;

SECRET [J] = 32;

}

}

}

Void main () {

INT Secret [lc];

int SECR;

INT i = 0, x = 25;

CLRSCR ();

Printf ("/ NPLEASE INPUT SECRET ******: (WeiShu =% D) / N", LC);

gotoxy (x, 3);

While (i

SECR = / * bioskey (0); * / getCH ();

sec.s = SECR;

Secret [I] = SECR;

IF (Secret [i] == 8)

{

IF (i == 0) Continue;

x -; i-; gotoxy (x, 3);

Putchar (''); gotoxy (x, 3);

CONTINUE;

}

Else {Printf ("*"); x ; i ;}

}

JIA_MI (Secret);

PUTCHAR ('/ n');

For (i = 0; i

Getch ();

}

转载请注明原文地址:https://www.9cbs.com/read-121541.html

New Post(0)