Vote count: 0
I need to get pointer to other class from derived class:
#include "functions.h" // contains class RGBfunctions
#include "panel.h" // contains class RGBpanel
class RGBdisplay : public RGBfunctions
{
typedef RGBpanel* RGBpanel_ptr; << error
}
But i get error:
RGBpanel doesn't name a type
When i remove the inheritance it works.
asked 36 secs ago
Error when accessing class from other derived class
Aucun commentaire:
Enregistrer un commentaire