-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtaimr.h
63 lines (55 loc) · 837 Bytes
/
taimr.h
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
int pan;
void wait(int sec)
{
pan = clock() / 1000;
pan = pan + sec;
int secand;
for (;;)
{
secand = clock() / 1000;
if (secand == pan)
break;
}
}
void wait1_2(int sec)
{
int secand;
pan = clock() / 500;
pan = pan + sec;
for (;;)
{
secand = clock() / 500;
if (secand == pan)
break;
}
}
void wait5(int sec)
{
int secand;
pan = clock() / 250;
pan = pan + sec;
for (;;)
{
secand = clock() / 250;
if (secand == pan)
break;
}
}
void wait25(int sec)
{
int secand;
pan = clock() / 100;
pan = pan + sec;
for (;;)
{
secand = clock() / 100;
if (secand == pan)
break;
}
}
int over()
{
getch();
system("cls");
return 0;
}