Here's what i have. It's only partially finished. The int Fraction::operator+ (Fraction &add) and the int Fraction::operator* (Fraction &multi) work right. i have steeped through them line by line and temp in both has the proper values. But I can't get them the print out. Also if i try to do c = a + b; I get an "Error: no operator "=" matches these operands". Some advice would be greatly appreciated.
You have a problem in that a lot of you operators return int when you should really be returning a Fraction
So Fraction = Fraction + Fraction does not work - because Fraction+Fraction returns int.
and Fraction = int is an error - because your assignment operator expects a Fraction not an int.
So operator* and operator+ should return Fraction.
Operator= should really take a const Fraction&
Personally I would make all 4 of your operator overload take a const Fraction&
1 2 3 4
Fraction operator * (const Fraction&);
Fraction operator + ( const Fraction&);
voidoperator = (const Fraction&);
booloperator == (const Fraction&); //I use bool not int
Personally, I would have operator == return bool rather than int.