Hi all. I have a school project that requires me to build an airport simulator using queues. (If you've ever used Nyhoff's Data Structures text, you may be familiar with this). I don't want it to run real time because it'll blow by the DOS window in a flash and take away all the user's fun. So in each pass thru the simulated control clock loop, I'd like to insert a function call that causes the program to delay for a fixed amount of time, say 1 second.
Can anyone point me to a library function or code snippet that does this sort of thing?
Can anyone point me to a library function or code snippet that does this sort of thing?