Here I use a function (separar_y_reconocer_unidades) that asks you the time you want to wait and it separates the seconds, the minutes and the hours and calls another, named calc_tiempo, function with those three separated units as arguments. Then it transforms everything to seconds and returns the total of seconds equivalent to the time you have set.In the end, is a function called GUI_consola, which displays a main menu called separar_y_reconocer_unidades.
I hope yow like it...
Thank u. very usefull timer!!!!
ReplyDelete