Re: time delay
- From: "Tim Ward" <tw2@xxxxxxxxxxxx>
- Date: Thu, 2 Jun 2005 15:25:46 +0100
"GT" <contactGT_remove_@xxxxxxxxxxx> wrote in message
news:AwEne.54559$Li.39436@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> How can I put a 1 second pause in my program?
Why? (Different solutions will be appropriate depending on what you're
trying to achieve.)
> This is just in code - no
> screen elements involved. I know I could do this:
>
> clock_t goal = clock() + (clock_t)(1 * CLOCKS_PER_SEC);
> while ((goal - clock()) >= 0) ;
Well, you could if you only wanted it to work sometimes.
--
Tim Ward
Brett Ward Limited - www.brettward.co.uk
.
- Follow-Ups:
- Re: time delay
- From: GT
- Re: time delay
- From: GT
- Re: time delay
- References:
- time delay
- From: GT
- time delay
- Prev by Date: How to Add Triangle Bit map to List Control Header
- Next by Date: Re: time delay
- Previous by thread: time delay
- Next by thread: Re: time delay
- Index(es):
Relevant Pages
|