Click to See Complete Forum and Search --> : delay


Nasty2
March 28th, 2005, 06:59 AM
hey i want my application to wait for a period of time..... lets say 2 secs.

my tutor said there is a function called delay()..... and that i have to #include <conio.h>

This function is not there!!!!
Any ideas how i can get this function and use it?

Thanks

cilu
March 28th, 2005, 07:10 AM
What code are you writting? C/C++? Windows, Linux? Microsoft, Borland? what?

Use Sleep().

Nasty2
March 28th, 2005, 07:45 AM
using Microsoft Visual Studio C++