Professional Documents
Culture Documents
#include<string.h>
#include<conio.h>
#include<stdlib.h>
#include<stdio.h>
#include<windows.h>
if(!h)
h = GetStdHandle(STD_OUTPUT_HANDLE);
COORD c = { x, y };
SetConsoleCursorPosition(h,c);
struct MEMBER
char name[20];
char password[15];
int number[10];
};
int main()
char A[20];
MEMBER m;
system("COLOR F0");
cout.width(50);
cout.width(40);
cout.width(40);
cout.width(40);
gotoxy(42,2);
cin.getline(m.name,20);
gotoxy(42,4);
char c;
int h=0;
c=getch();
if(c!=8)
h++;
}
if(c==8)
if(h!=0)
cout << c;
cout << c;
h--;
if(h==0)
c=getch();
gotoxy(42,6);
h=0;
c=getch();
char verify[20];
if(c!=8)
h++;
if(c==8)
{
if(h!=0)
cout << c;
cout << c;
h--;
if(h==0)
c=getch();
int n=strcmp(verify,m.password);
int i=1;
system("cls");
cout.width(50);
cout.width(53);
cout.width(50);
cin.get();
cin.get();