hi i am trying to create a class that contains a struct. This struct inherits properties from other classes.
class people
{
public:
struct person:public parent
{
private:
char * data
public:
setdata(char * x)
}
In the parent class i have
class parent
{
private:
public:
person **child
}
my problem is that it does not recognise the person **child to by a type of struct person in the other class. Is there a way to get around this?