int timer = GetTickCount ( ) ; int tiempo = std :: stoi ( param ) * 1000 ; while ( true ) { if ( GetTickCount ( ) - timer > tiempo ) { break ; } }
int timer = GetTickCount ( ) ; int tiempo = std :: stoi ( param ) * 1000 ; if ( GetTickCount ( ) - timer > tiempo ) { timer = GetTickCount ( ) ; }