Search:

Type: Posts; User: seemarj83

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,513

    sleep() Problem when time Hits midnight

    i have tried with it but the compiler is not Supporting that...

    it has undefined i have used dos.h header also.....


    then i tried breaking the loop for so much of count
    while(clock()<t)
    ...
  2. Replies
    4
    Views
    1,513

    sleep() problem when Time Hits Midnight

    Hi all,

    I want to make my application to sleep for a second so i have implemented it with
    static void
    sleep(int iSecs)
    {
    int iCount=0;
    unsigned long int t=clock()+(1000L*iSecs);...
Results 1 to 2 of 2