August 30th, 2003, 07:15 AM
C++ Timer Function
I need to implement a timer function for a program in C++. I need to display a message on screen for 20 seconds and thats it. Please can some one help.
August 30th, 2003, 11:18 AM
Please provide more details:
(a) OS - Windoze, Linux, FreeBSD etc.
(b) Development Environment - Visual C++, Borland C++ Builder, gcc etc.
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
August 30th, 2003, 11:28 AM
You can use the functions in <time.h> (or <ctime>) to write your own delay routine for something like this. Should be available whichever platform you're on.