文件名称:searching
介绍说明--下载内容均来自于网络,请自行研究使用
/* binarysearch() - A binary search implementation which takes the same
* arguments as the C library function bsearch() provided by stdlib.h. It
* searches the sorted array at address base, which has nmemb elements, each of
* which is size bytes long. compar is a pointer to a comparison function.
* The function compares two array elements, and returns a negative, zero, or
* positive integer depending on whether the first array element is less than,
* equal to, or greater than the second.
*/-/* binarysearch() - A binary search implementation which takes the same
* arguments as the C library function bsearch() provided by stdlib.h. It
* searches the sorted array at address base, which has nmemb elements, each of
* which is size bytes long. compar is a pointer to a comparison function.
* The function compares two array elements, and returns a negative, zero, or
* positive integer depending on whether the first array element is less than,
* equal to, or greater than the second.
*/
* arguments as the C library function bsearch() provided by stdlib.h. It
* searches the sorted array at address base, which has nmemb elements, each of
* which is size bytes long. compar is a pointer to a comparison function.
* The function compares two array elements, and returns a negative, zero, or
* positive integer depending on whether the first array element is less than,
* equal to, or greater than the second.
*/-/* binarysearch() - A binary search implementation which takes the same
* arguments as the C library function bsearch() provided by stdlib.h. It
* searches the sorted array at address base, which has nmemb elements, each of
* which is size bytes long. compar is a pointer to a comparison function.
* The function compares two array elements, and returns a negative, zero, or
* positive integer depending on whether the first array element is less than,
* equal to, or greater than the second.
*/
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Makefile
search.c
search.h
search_test.c
search.c
search.h
search_test.c