#include #include "timer.h" void main() { while(true) { timer oTimer; oTimer.reset(); oTimer.start(); Sleep(500); oTimer.stop(); cout << "the timer was going for " << oTimer.getElapsedTime() << " seconds!\n"; } }