摘要: #include <stdio.h>int binary_find(int arry[], int find_value){ int low = 0; int high = sizeof(arry) / sizeof(arry[0]) - 1; while(low <= high) { int index = (low + high) / 2; if(arry[index] == find_value) { return index; ... 阅读全文
posted @ 2012-06-18 21:20 蒲蜡 阅读(168) 评论(0) 推荐(0) 编辑