Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pause Code - Please Help!

Status
Not open for further replies.

Luckygold6

Programmer
Jan 9, 2003
31
US
Topic. Thanks in advance.
 
What do you want to 'pause'?
In a console application you can use getc(). In windows application it is fully up to your code. You can set some global flag and based on that stop(pause) all the activities that your code is doing(in all threds).
 
I was trying to pause the program temporarily in MS-Dos because I'm basing a randomize code on Time. By pausing the program, time is allowed to pass, which means I can get a different value from the Time Sequence.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top