Hi to all, I need your help, I need to sort a CList, I was wandering if you can help me in this issue.
Wich is the best way to sort CList and How to manage the pointer?
Thanks :rolleyes:

How about creating array of pointers to elements of list and then using qsort to sort the array and then finally according to the order in array you can relink.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.