title: I want to overload "=" operator but it gives me error
body: <pre><code>friend Fraction operator=(const Fraction &amp;newfraction) {
  
      Fraction changedfraction;
  
      changedfraction.numerator = newfraction.numerator;
      changedfraction.denominator = newfraction.denominator;
  
      changedfraction.simplify(changedfraction.numerator, 
                               changedfraction.denominator);
      return (changedfraction);
  }
  </code></pre>