C——qsort()排序指针数组的概括用法

摘要: qsort( 【* 指针,解引用后指向的是 等待排序的元素的类型 的指针数组 】,【count,数组中的指针解引用后的元素的数量】,【size,数组中的指针解引用后的元素的大小】 ,compare 【compare是回调函数,没有()】) int compare(const void *p1,con 阅读全文
posted @ 2021-02-06 21:41 平ping 阅读(271) 评论(0) 推荐(0)