Thread: how can make a delay founction with certain time?

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    2

    how can make a delay founction with certain time?

    how to use the founction delay()?
    and how to calculate the time?

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    Look in your compilers help?

    If you want us to help you, perhaps you should say which OS/compiler you want help with!
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    Registered User
    Join Date
    Mar 2002
    Posts
    2
    Originally posted by adrianxw
    Look in your compilers help?

    If you want us to help you, perhaps you should say which OS/compiler you want help with!
    tc2.0
    c language!

  4. #4
    Registered User biosx's Avatar
    Join Date
    Aug 2001
    Posts
    230
    i'm pretty sure that the delay() function is in dos.h. You use it like this:
    Code:
    delay(250);
    It will pause the program for 250 milliseconds.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using pointers
    By Big_0_72 in forum C Programming
    Replies: 3
    Last Post: 10-28-2008, 07:51 PM
  2. Need help with time
    By Gong in forum C++ Programming
    Replies: 7
    Last Post: 01-11-2007, 02:43 PM
  3. Read and set\change system time
    By Hexxx in forum C++ Programming
    Replies: 9
    Last Post: 01-02-2006, 07:11 AM
  4. Killing someones grandparents
    By nickname_changed in forum A Brief History of Cprogramming.com
    Replies: 37
    Last Post: 09-07-2003, 07:56 AM
  5. relating date....
    By Prakash in forum C Programming
    Replies: 3
    Last Post: 09-19-2001, 09:08 AM