Quick question regarding the Fraction class created in the header file. Someone in my group used this in the header and I was wondering if there was an alternative to coding it than what they used. Something simpler for me to understand. It seems they just took a shortcut.
public:
Fraction(int _num = 0, int _den = 1, char _sign = 'p') : numerator(_num), denominator(_den), sign(_sign) {}