Game Timer In C++
- by user1870398
I need to be able to find out how many milliseconds since that last update. Is there any way I can find it out with time rather then a thread that counts like I did below?
#include <iostream>
#include<windows.h>
#include<time.h>
#include<process.h>
using namespace std;
int Timer = 0;
int LastTimer = 0;
bool End = false;
…