That would be a typo with the z, my bad. As for the allocation at the end of the loop, I did that because you were always allocating the "head" node but not using it. Now it uses the head node, nothing more :-)
That would be a typo with the z, my bad. As for the allocation at the end of the loop, I did that because you were always allocating the "head" node but not using it. Now it uses the head node, nothing more :-)
wipe on -A slap on the hand is better than a slap on the face. A tragic lesson learned far too late in life.- wipe off