interacting with time.h
I just finished my final. The hardest part was making an alarm clock. The best I could do was a count down using wait(i). i being the total of seconds from the hours, minutes, and seconds entered by user. I couldn't even how to refreshf local time after using it once in the program... I think I passed the class(but probably not the final). I am in this for the knowledge and need to know for me, are there any tutorials on interacting with tme? For example I simply wanted a (hh:mm == current time) where hh and mm would be the variables entered by end user. then after alarm, have a fresh local time. I would appreciate any info to check out, and thanks people. :)
Have a look at boost's time/date library.