分數的 四則運算小學就學了吧? http://en.wikipedia.org/wiki/Rational_number#Arithmetic 建議你超載 global 的 operator+: ...
www.programmer-club.com.tw