PDA

View Full Version : Delay???



CyBBe
04-03-2000, 10:30 AM
Is there any kind of delay or wait command in C++??? In the old reliable Turbo C++ for DOS I had a perfect delay command, but now?? Is there any?

lgrosshennig
04-03-2000, 10:55 AM
Hi there!

Try

Sleep(milliseconds);

There milliseconds is the amount of milliseounds you want the application to wait (obvious isn't it http://www.opengl.org/discussion_boards/ubb/biggrin.gif)

Regards,

LG http://www.opengl.org/discussion_boards/ubb/biggrin.gif

ngill
04-04-2000, 05:28 AM
I needed that too, thanx