Unnamed
public text v1 · immutable#include <iostream>
#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";
}
}