I don't know what delay() does, but I'm assuming it suspends
the program for a given amount of time. You can use the function
Sleep() for WIN32 or sleep() for unix. Just #include windows.h
and you should see Sleep(). Here's a link to Sleep():
http://msdn.microsoft.com/library/de...base/sleep.asp

--Paul