[Solved] Deleting from a Linked List [closed]


I am not sure what del is, but assuming it is a node in your deleted words linked list, all your doing is assigning the deleted word to del in del = temp. If you want to add it onto the del linked list you have to create a new node and add it on for example…

WordMeaningNode newDelNode;
newDelNode = temp;
del.next = temp;

something like that… I’m not entirely sure because it is a little difficult to read your code.

solved Deleting from a Linked List [closed]