Code: Select all
#include <iostream>
#include <ctime>
using namespace std;
int main()
{
char time [10];
char wakeup[10] = "07:00:00";
int nCheck = 1;
system("color 3f");
cout<<" Alarm Clock "<<endl;
cout<<"-------------------"<<endl;
while(nCheck != 0)
{
_strtime_s(time);
cout<<"Current Time:"<<time<<endl;
nCheck = strcmp(time, wakeup);
}
system("C:/Stuff/Rawr/Rawr.htm");
system("pause");
}
http://dejaigames.com/dump/Rawr/Rawr.htm
Sorry but someone will have to like it