Deleting nodes from a linked list

May 1, 2016 at 6:33pm
Hello,

I've been trying to delete the first node from a linked list... I've written the pseudocode for it, but i'm not sure how to apply it with a void function.

What I have is:

Node* temp;
temp = Head;
Head = Head -> next;
delete temp;
Last edited on May 1, 2016 at 6:36pm
Topic archived. No new replies allowed.