class point1
{
private:
int position;
int passpoint;
point1 * another,* next;
friend class store;
};
class store
{ ……
head->anohter->another=NULL;
}
error C2039: 'anohter' : is not a member of 'point1'
为什么说another不是point的成员?
{
private:
int position;
int passpoint;
point1 * another,* next;
friend class store;
};
class store
{ ……
head->anohter->another=NULL;
}
error C2039: 'anohter' : is not a member of 'point1'
为什么说another不是point的成员?
another
写错,第4,5字符