shmoove
09-13-2002, 12:32 PM
Hi,
I am writing a little console game using Borland's Turbo C compiler.
I use to the dos.h delay() function. It works fine when I run the program in Windows 98, but when I run it in WinXP the program runs considerably slower. I assume this is because WinXP doesn't really have DOS but some sort of DOS emulator to run the program.
Is there a good alternative to the delay() function that will perform the same in WinXP as in Windows 98?
I am writing a little console game using Borland's Turbo C compiler.
I use to the dos.h delay() function. It works fine when I run the program in Windows 98, but when I run it in WinXP the program runs considerably slower. I assume this is because WinXP doesn't really have DOS but some sort of DOS emulator to run the program.
Is there a good alternative to the delay() function that will perform the same in WinXP as in Windows 98?