Nickyg2006
October 21st, 2004, 11:59 AM
I've googled for about an hour trying to find a tutorial or just some random info on the net on how to make a program wait for "x" seconds before continuing on with the program. I have found one for C++, and even though I know its similar, it just wasn't working.
I was wondering if there was a command like sleep(x); or something that I'm missing. I know threads run concurrently, and I don't want to have to make my code messy. I'm a beginner, and to just jump into coding and learning the basics and advanced basics, I'm trying to program a dos text-based choose-your-own adventure type game.
Any help would be greatly appreciated.
I was wondering if there was a command like sleep(x); or something that I'm missing. I know threads run concurrently, and I don't want to have to make my code messy. I'm a beginner, and to just jump into coding and learning the basics and advanced basics, I'm trying to program a dos text-based choose-your-own adventure type game.
Any help would be greatly appreciated.