This might give you a hint
Code:
#include<ctime>
#include<iostream>

int main()
{

	time_t t1=time(0);
	time_t t2=time(0);
	while(difftime(t2,t1)!=14)
		{
			std::cout<<"hello";
			t2=time(0);
		}
	return 0;
}