I have defenided two classes like:
class Conversion{
Conversion(BOOL corregido);
};
class ConversionHTMLublic Conversion{
...
};
then I use
ConversionHTML::ConversionHTML(BOOL corregido):Conversion(corregido){}
Inside the constructor of Conversion there are operations.
If I just compile the file ConversionHTML.cpp it finds no errors; however when I compile Conversion.cpp it sends one error:
"Conversion: base class undefined" and it marks the file ConversionHTML at the constructor. It has Conversion.hpp included on ConversionHTML, and if Conversion is the parent class, I do not know the reason why it referes to the child class.
class Conversion{
Conversion(BOOL corregido);
};
class ConversionHTMLublic Conversion{
...
};
then I use
ConversionHTML::ConversionHTML(BOOL corregido):Conversion(corregido){}
Inside the constructor of Conversion there are operations.
If I just compile the file ConversionHTML.cpp it finds no errors; however when I compile Conversion.cpp it sends one error:
"Conversion: base class undefined" and it marks the file ConversionHTML at the constructor. It has Conversion.hpp included on ConversionHTML, and if Conversion is the parent class, I do not know the reason why it referes to the child class.