As part of a project I need to implement a function for Qsort to sort an array of integers and to sort strings.
If you have any suggestions please forward them.
Thank you.
As part of a project I need to implement a function for Qsort to sort an array of integers and to sort strings.
If you have any suggestions please forward them.
Thank you.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
>If you have any suggestions please forward them.
Assuming by Qsort you mean a function like the C standard library's qsort function implemented with quicksort, any algorithms book will give you the algorithm, most in C or C++..
My best code is written with the delete key.