I found _A_ problem at least... You made a typo in your fraction::operator= member. You make two calls to ::get_num() in stead of one to ::get_num() and one to ::get_den().
fraction & fraction::operator = (fraction &a)
{
num = a.get_num();
den =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.