Thread: delay() in Bc++ 5.5

  1. #1
    Chiki Chiki Chalem
    Guest

    delay() in Bc++ 5.5

    what happened to delay command in BC++ 5.5 ?

    for example,
    delay(20)

    gives errors in BC++ 5.5 but works well in TC++ 3.0

    is there a similar command that does this in BC++ 5.5 ?

    COOL PROGRAMS @ www.akilla.tk

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Sleep() in windows.h
    Code:
    #include <stdio.h>
    #include <windows.h>
    
    int main(void)
    {
    	Sleep (1000);  /* One second */
    	return 0;
    }
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Regarding delay in the connection
    By byatin in forum Networking/Device Communication
    Replies: 2
    Last Post: 08-19-2008, 02:59 PM
  2. temperature sensors
    By danko in forum C Programming
    Replies: 22
    Last Post: 07-10-2007, 07:26 PM
  3. Networking (queuing delay, avg packet loss)
    By spoon_ in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 09-05-2005, 11:23 AM
  4. Put A Delay To A Buffer
    By timmer in forum C Programming
    Replies: 2
    Last Post: 05-24-2005, 09:45 AM
  5. Delay
    By CanadianOutlaw in forum C++ Programming
    Replies: 4
    Last Post: 09-13-2001, 06:28 AM