Re: Timer issue (want it to be more specific than 1 second)
Posted 28 March 2011 - 10:23 AM
You're doing something wrong (can't tell what without seeing the actual code) but it doesn't matter. I just realized that clock() won't do what you want anyway -- the program has to actually be doing something to use clock(). If it's just sitting idle waiting for input, clock() will just show 0.
Assuming you're working in Windows, you can use something like this: