so i want to make a function called ReplaceNodes somthing like this
void List::replaceNode(Node *OldNode, Node *NewNode)
{
//write code here
}
takes pointers to OldNode and NewNode as inputs, assume that the list is never empty.
i have no idea how to go about doing this can some one please help me with this
Aucun commentaire:
Enregistrer un commentaire