摘要:
C/C++中有一个快速排序的标准库函数 qsort ,在stdlib.h 中声明,其原型为:void qsort(void *base, int nelem, unsigned int width, int ( * pfCompare)( const void *, const void *)); 使用该函数,可以对任何类型的一维数组排序。该函数参数中,base 是待排序数组的起始地址,nele... 阅读全文
posted @ 2010-01-15 21:40
InfantSorrow
阅读(27690)
评论(0)
推荐(1)

浙公网安备 33010602011771号