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

Pages: 1-

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 21:36

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

Name: Anonymous 2010-10-06 2:37

First time posting to /prog/ I have a question
Go away and come back when you've lurked enough. And don't forget your apostrophes that time.

Name: Anonymous 2010-10-06 2:40


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