Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Timers

Name: Anonymous 2010-10-05 21:27

First time posting to /prog/ I have a question

Im just playing around with c++ at the moment, trying to refresh myself on the basics since its been a while

In a basic console app, how would I create two seperately running timers, I have a rough code that counts down in seconds, but is there a particular way I can call the function and have the timer count down while it continues with the rest of my code without waiting for it to finish?

Name: Anonymous 2010-10-05 22:26

>>2
Enable javascript to use LMGTFY.

>>1
They're called threads. http://www.google.com/search?q=C%2B%2B+threads

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List