#include<iostream>
#include<windows.h>
#include<ctime>
#include<conio.h>
#include<string>
#pragma comment(lib,"winmm.lib")
using namespace std;
void gotoxy(int x,int y)
{
HANDLE h;//句柄,对象的索引
COORD c;//结构体,坐标值
c.X=x;
c.Y=y;
h=GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleCursorPosition(h,c);
}
#include<windows.h>
#include<ctime>
#include<conio.h>
#include<string>
#pragma comment(lib,"winmm.lib")
using namespace std;
void gotoxy(int x,int y)
{
HANDLE h;//句柄,对象的索引
COORD c;//结构体,坐标值
c.X=x;
c.Y=y;
h=GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleCursorPosition(h,c);
}
class timer
{
private:
int x,y,i,j,temp=0,sum=0;
clock_t t;
char c;
string pass;
public:
timer()
{
x=5;
y=2;
t=clock();
i=0;
gotoxy(x+9,y+2);
cout<<"password:";
j=x+18;
}
void sec()
{
{
private:
int x,y,i,j,temp=0,sum=0;
clock_t t;
char c;
string pass;
public:
timer()
{
x=5;
y=2;
t=clock();
i=0;
gotoxy(x+9,y+2);
cout<<"password:";
j=x+18;
}
void sec()
{
i