got you!!
Thanks anway
So i have to add additional condition before while loop
if(head->value == val)
{
Node *temp = head;
head = head->next;
delete temp;
return;
}
@cngzhnp
yes, exactly! Good point to get!
Обсуждают сегодня