You could just run this code and try out a fraction like 1&2 + 1&4 and you'll see my problem.
Whenever my protected function (add) returns,
it always returns the numerator and not the whole fraction.
Here is the code:
//-------Cut Here------//
//THIS WILL ONLY RETURN THE NUMERATOR...
You could just run this code and try out a fraction...
Whenever a protected function returns,
it always returns the numerator and not the whole fraction.
Here is the code:
//-------Cut Here------//
//THIS WILL ONLY RETURN THE NUMERATOR
#include <iostream>
using namespace std;
//COUT IS...
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.