Need help asap

Hey guys i need help about my game i want to add timer to my game and i want 60 seconds countdown if countdown become 0 user become gameover

(sorry for my bad english) thank you for your help
clock is sufficient for this.
there is probably a newer way but the gist of it is

int start = clock();
double diff;

do
{
things; //including display time left ?
diff = (clock()-start)/(double)(CLOCKS_PER_SEC);
} while diff < 60.0;
//time is up here...
jonnin, can you please start using code tags when posting code!

Topic archived. No new replies allowed.