I have one class in one file and another class in another file. One class is derived from the other.
From my understanding a derived class doesn't have to initialize any of the base class methods to be able to use them. When I try to compile my program it says that my derived class has no member that matches the base class.
Code:class Base{
void print();
}
class Derived : Base{
}
int main{
Derived d;
d.print(); //This should just default to the base member but I'm getting an error saying that my derived class has no member 'print'