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
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
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]