devxlogo

Quick sort

Quick sort

Question:
I have pseudocode for a quick sort. I know how to implement it in Pascal. Is there simple code for quick sort in C++? How can I find other simple algorithms like this? My teacher says they have all been written many times over!

Answer:
Probably picking up a good algorithm book that specifically uses C++ would be your best bet. In addition, the source code is available for the Borland and Microsoft C++ run-time libraries. These libraries include a quick sort routine.

devx-admin

Share the Post: