hess586
asked on
C++ Sorting using Template Functions
Does anyone know of a good web site that has information about how to use different sort methods using Templates?
For example, If wanted to use Quick sort in a template function, like to be able to sort more than just ints or floats, but also variables of custom classes that I create. I'd like to find this information for other sorts as well like selection sort and insertion sort. Anyone have any ideas of where I could find information like this?
Thanks.
For example, If wanted to use Quick sort in a template function, like to be able to sort more than just ints or floats, but also variables of custom classes that I create. I'd like to find this information for other sorts as well like selection sort and insertion sort. Anyone have any ideas of where I could find information like this?
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:
Split between KurtVon and furqanchandio
Any objections should be posted here in the next 4 days. After that time, the question will be closed.
wayside
EE Cleanup Volunteer
I will leave the following recommendation for this question in the Cleanup topic area:
Split between KurtVon and furqanchandio
Any objections should be posted here in the next 4 days. After that time, the question will be closed.
wayside
EE Cleanup Volunteer
Sorry, I didn't realize it was only 25 points.
Recommendation:
Accept: KurtVon
Recommendation:
Accept: KurtVon
https://secure.codeproject.com/vcpp/stl/
http://www1.physik.tu-muenchen.de/~gammel/matpack/html/LibDoc/Statistics/sorting.html
http://www.devx.com/tips/Tip/20013
http://cplus.about.com/od/stltutorial/l/aa110103d.htm
u might find these links useful
cheers