delay() in Bc++ 5.5

This is a discussion on delay() in Bc++ 5.5 within the C++ Programming forums, part of the General Programming Boards category; what happened to delay command in BC++ 5.5 ? for example, delay(20) gives errors in BC++ 5.5 but works well ...

  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, 03:59 PM
  2. temperature sensors
    By danko in forum C Programming
    Replies: 22
    Last Post: 07-10-2007, 08: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, 12:23 PM
  4. Put A Delay To A Buffer
    By timmer in forum C Programming
    Replies: 2
    Last Post: 05-24-2005, 10:45 AM
  5. Delay
    By CanadianOutlaw in forum C++ Programming
    Replies: 4
    Last Post: 09-13-2001, 07:28 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21