I'm currently working on a project that simplifies and adds two user-defined fractions. The teacher specified that we use a function with the prototype:
Fraction addfractions(const Fraction& f1, const Fraction& f2)
My problem is, I can't find any information on this Fraction data type that he is making us use. None at all. Every C++ data type tutorial I've visited makes no mention of a Fraction type.
How does this "Fraction" data type work? Any info / links would be amazing.
Thanks.
James