▄▄▄▄
delay <DOS.H>
▀▀▀▀▀▀▀
Suspends execution for interval (milliseconds)
Declaration: void delay(unsigned milliseconds);
Remarks:
ith a call to delay, the current program is suspended from execution for
he time specified by the argument milliseconds.
t is not necessary to make a calibration call to delay before using it.
elay is accurate to one millisecond.
Return Value: None
Portability:
╔ DOS Ð UNIX Ð ANSI C Ð C++ Only ╗
║ Yes │ │ │ ║
Example:
/* Emits a 440-Hz tone for 500 milliseconds */
#include <dos.h>
int main(void)
{
sound(440);
delay(500);
nosound();
return 0;
}
sono stato abbastanza esauriente?
CIAO!

Rispondi quotando