line 15: ++ is the increment operator. You can't increment by a distance.
Line 17: You can't assign the sum of two ints to a object of type distance (temp).
Line 17: You're combining two dissimilar measures (inches and feet). If you're overloading the + operator, you need to add feet to feet and inches to inches and allow for overflow of inches.
Line 27: temp is not in scope.
Line 33: You're using the default constructor so both values will be 0.
PLEASE USE CODE TAGS (the <> formatting button) when posting code.
It makes it easier to read your code and also easier to respond to your post. http://www.cplusplus.com/articles/jEywvCM9/
Hint: You can edit your post, highlight your code and press the <> formatting button.