~cpp
#include <iostream.h>
#include <conio.h>
#include <ctime>
void main(){
time_t start = time(0);
while(1){
if (kbhit()){
if (time(0)-start==8){
cout<<"You win!!!"<<endl;
}
else {
cout<<"your time is off."<<endl;
}
break;
}
}
getch();
}
ㅡㅡ 한 time kbhit() 황했 
time(0) 해 한.. ㅠㅠ

time(0) 해 한.. ㅠㅠ
└time(0), time(NULL) .. 1970 1 1 . 크 unsigned long 형 하, 히 1 1 합. . - 태










