|
-
Jul 7th, 2001, 08:42 AM
#1
Thread Starter
Hyperactive Member
Sorting
I have the following structure as an Linked List
struct x
{
int wins;
int loss;
stuct x *next;
};
after entering data i want to sort the linked list in descending order of wins and ascending order of loss.
ie if more than 1 team is having same wins it should be based on loss in that case.
Please help me.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|