I'd like to build a Fraction class and to do that I want to use the class to declare the attributes inside of it like this.
class Function {
private:
Fraction num;
Fraction den;
public:
// Methods...
}
How can I do it? Thank you in advance for your time.
P.S.: sorry for my bad english and also for my bad programming, I'm new to OOP :D.