What is the general, platform indepent way to get the current time in milliseconds?
I need it for something like this:
Code:StartTime = getCurrentTime(); while(getCurrentTime() - StartTime < Timeout) { doSomething(); }
What is the general, platform indepent way to get the current time in milliseconds?
I need it for something like this:
Code:StartTime = getCurrentTime(); while(getCurrentTime() - StartTime < Timeout) { doSomething(); }
There is none. Sorry.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law