Quote Originally Posted by Niya View Post
I have a question Jacob....Why do you use QueryPerformanceCounter ? What's its function ? MSDN says returns a count of a high resolution counter. What does that mean in layman's terms ?
Because its a high resolution timer. Practically the highest resolution timer out there. And can be used for real time related things such as game physics, locking framerates, getting FPS, timing things, anything to do with time, etc. You could alternatively use the timeGetTime API. But its not as a high resolution. But a good alternative if you feel QueryPerformanceCounter is overkill. Its a matter of preference.