#pragma once
#include "ctime"
using namespace std;

class clk {
public:
clk() {
runTime = 0;
startingTime = 0; }
void startClk (int sec) {
runTime = sec;
startingTime = clock();

cout << "\n\tDen k\x9Brer i " << runTime << endl;
while(clock() - startingTime < runTime);
cout << "\tTiden er g\x86" << "et\n"; }

private:
long int startingTime;
int runTime;
};