problem with a alarm program

There is nothing much to study. With basic programming skills you can understand everything you need.

You can try this site