I wrote this function which takes a struct type Time and returns the total number of seconds. anyway, the part that I am having a problem with is this one:
int functime(Time parm)
t_n_s = ((3600 * Time.hours) + (Time.minutes) + Time.seconds);
I get an error saying that "Time was declared as typedef and cannot occur as an expression".
Can someone tell me what I am doing wrong.Any help will be greatly appreciated.