搜索资源列表
b
- 在程序中输入数组大小n,通过动态分配内存函数malloc产生一个整型数组,接着输入该数组的n个元数,并使用一个函数对组数进行排序(从小到大,要求用选择法实现)-In the procedure input array size n, through dynamic allocation of memory function malloc generate an integer array, and then enter the array of n-ary number, and use a f
55645
- 10种软件滤波方法的示例程序 1、限副滤波 /* A值可根据实际情况调整 value为有效值,new_value为当前采样值 滤波程序返回有效的实际值 */ #define A 10 char value char filter() { char new_value new_value = get_ad() if ( ( new_value - value > A ) || ( value - new_value
c
- 二分法(折半)插入排序:在已排好序的序列中使用二分法查找插入位置,找到后移动其后记录插入新记录。-Dichotomy (binary) insertion sort:In the series have been sequenced use dichotomy search into position,after finding a new record record insertion by moving.
vc
- 冒泡排序法输出三个学生的成绩-let line