Deleting in a linked list[quote]Wouldn't it make more sense to compare the head to the input before searching for the value?[...
Deleting in a linked listHello, I'm relatively new to C++ and I'm writing a program that is to include a delete function whic...
Delete 1st node in a linked listI'm now passing *head by reference, but unfortunately my program is still freezing whenever I attemp...
Delete 1st node in a linked listOkay, are you saying that I should be passing *head by reference? I'm not sure I 100% understood wh...
Delete 1st node in a linked listHello, I'm relatively new to C++ and I'm writing a program that includes a delete function which wil...
This user does not accept Private Messages