Id like to have my console program stopped and code executed if a timer runs out. does this mean i need another thread? can anyone point me to some functions i may need to use as ive never forked a program before. im using visual c++ on windows.
lexusdominus
1
Junior Poster in Training
Recommended Answers
Jump to PostNo threading necessary.
See:
SetTimer()
or
CreateWaitableTimer()
with
SetWaitableTimer()
All 3 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Caligulaminus
35
Junior Poster
Ancient Dragon
commented:
good idea :)
+17
Tellalca
19
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.