lundi 5 décembre 2016

Countdown timer in C++?

Is it possible to create a countdown timer in C++ (any ver.),

WHILE we are interacting on the output screen.

for example: A game is being played and we have to stop it after some given time.

I can create the timer either by using clock function or loop, but then, while the timer runs of course, I can't do anything.

So I want something like, a game being played and timer running in background, and the game ends, as the time is over.

Aucun commentaire:

Enregistrer un commentaire