I am doing the sorting when inserting a new item. So far I am trying to do it with a "while" and then a nested if. Looks something like this:
if (temp->nxt == NULL)
{
cout << "List...
Type: Posts; User: Proggy1
I am doing the sorting when inserting a new item. So far I am trying to do it with a "while" and then a nested if. Looks something like this:
if (temp->nxt == NULL)
{
cout << "List...
Hi, is any one able to give me a start as to how to sort (descending by age) a linked list. I have been working on this now for about a week, and still have problems understanding how to go about...