Can i ask sample codes for quick sort?

i already have build my code but i'm a bit stuck on the quick sort function. can anyone show me some sample codes?
This might be a good place to start: http://en.wikipedia.org/wiki/Quicksort

Do you know much about recursion? If you don't you may want to read up on it, as quicksort is a recursive algorithm.
thanks guys.. ill follow your links,

i have a question.. when using quick sort function does it always use do,do while? and not for loop?
Last edited on
Topic archived. No new replies allowed.