链表
作者:互联网
struct NodesearchInfoByName(struct NodeheadNode,char filrName)
{
struct NodepMove=headNode->next;
while(pMove!=NULL&&strcmp(pMove->data.name,namr))
{
pMove=pMove->next;
}
return pMove;
}
}
查找信息
删除信息
修改信息
case 5:
printf(“请输入修改信息的姓名:”);
scanf("%s",tempData.name);
pMove=searchInfoByName(list,tempData.name);
标签:struct,tempData,信息,next,链表,pMove,name 来源: https://blog.csdn.net/weixin_52852428/article/details/111643478