#include "timer.h" Timer::Timer() { Reset(); } void Timer::Reset() { _ftime(&start); } double Timer::Check() { double seconds; struct _timeb now; _ftime(&now); seconds = (now.time - start.time) + ((double)(now.millitm - start.millitm))/1000; return seconds; } Timer::~Timer() { }