well im trying to do this but i cant
first i make a class in c++ and then pass values to it from main function of time
lets say i pass 3:26:12 ..
3 = hour
26 = min
12 = sec
so it displays it fine.. but now i want abit change in it.. i want if i pass 3:65:12 to it so it should automaticaly make it 4:05:12 as we know tht 1 hour = 60 mins..
so any logic for that? thanks buddies in advance