Hallo to all.
I'm trying to write a console program doing the followings:
After that, i would like to compare the given time with calendar time and when the calendar time reaches the given time, then a function to be executed.Code:int main(void) { int hour, min; printf("Set the time (like 12:00)"); scanf("%d:%d", &hour, &min); }
My main problem is to convert given time to a type in order to compare with calendar time.
Thanks in advance
Saik