Deleting nodes from a linked list

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
Topic archived. No new replies allowed.