Topic: Pausing a program
Author: Oleg Zabluda <zabluda@math.psu.edu>
Date: 1998/01/01 Raw View
good <WOLFSHKE@HOTMAIL.COM> wrote:
: is there a standard function for pausing a program for a set number of
: seconds or milliseconds. I have not been able to find much on this subject
: in any of the books I own. I'm learning as I go and would appreciate
: anything I might receive on the subject. A simple yes or no will help me
: out (if yes I'll keep looking if no I'll try to write one myself)
Not in ANSI-C AFAIK. But in Posix.1 you have sleep(), and in
Posix.1b you have nanosleep().
Oleg.
--
Life is a sexually transmitted, 100% lethal disease.
---
[ comp.std.c++ is moderated. To submit articles: try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu ]
Author: "good" <WOLFSHKE@HOTMAIL.COM>
Date: 1997/12/31 Raw View
is there a standard function for pausing a program for a set number of
seconds or milliseconds. I have not been able to find much on this subject
in any of the books I own. I'm learning as I go and would appreciate
anything I might receive on the subject. A simple yes or no will help me
out (if yes I'll keep looking if no I'll try to write one myself)
please e-mail any answer to kawolf@myriad.net
THANK YOU AGAIN
---
[ comp.std.c++ is moderated. To submit articles: try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu ]