So i have two classes, one is an abstract "Servicio.h", and the class "Aparato.h" which inherits from it, but I'm getting an error which does not let me create an Aparato object in the main, even though I included Servicio.h. I omitted the information inside, I have no clue why its not working.
The purpose of the exercise is Inheritance/Polymorphism so thats why I'm not including Aparato.h, the error I get if I try to make an Aparato object is "unknown type name 'Aparato'", it just does not recognize it at all.
integralfx is right. If the Aparato class is defined in Aparato.h but you don't include this header file there is no way the compiler could know about the Aparato class.