void modifyPerson(TongXunLu* TXL04)
{
cout << "请输入想要修改的联系人姓名" << endl;
string name;
cin >> name;
int ret = retnum(TXL04, name);
if (ret==-1)
{
cout << "没有查询到该联系人" << endl;
}
else
{
cout << "请输入修改后的姓名:" << endl;
TXL04.
}
}为什么TXL04不能使用->来访问TongXunLu里的成员,并且报错表达式必须具有类类型