What I am trying to do is add seconds to my object and return my object in a hh:mm:ss format. I am not sure how to convert the total seconds into the proper format.
Time24 Time24::operator+(const int second) const
{
int secResult;
int minResult;
Time24 temp;
temp.sec = sec + second;
if ( temp.sec > 59)
{
secResult = temp.sec / 60;