Introduction - If you have any usage issues, please Google them yourself
First, initialize will be the order of sequence, to initialize the array. Second, the definition of Quick Sort function : the algorithm ideas : In order to the n records from a record-r (usually from the first record). for the record, whichever is the keyword k, all the remaining n-a record divided into two sequences. The first sub-sequences of key-each record is less than or equal to k, The second sub-series record of each keyword is greater than or equal to k, Then k corresponding record with the first sub-sequence after sequence and the second sub before. The process of sorting out. After a series respectively tend sequences and two repeat this process until each sub-series so far only one record. Finally, the definition of main function, a function used before the procedure.
Packet : 101259380ksps.rar filelist
ksps.cpp