搜索资源列表
finemax
- 这是一个通过递归来实现查找数组中的最大值,用指针来作参数传递
3DPieChart
- 本文的想法就是创建一个独立的能够用于绘制立体三维饼状图的类库。首先,它看起来非常简单,因为,在Graphics 类中已经有了一个叫DrawPie 的方法。这个方法接收开始角度和展开角度作为参数,因此,看上去不再有什么其它的问题了。不过它实现的是一个平面的圆饼图,我需要的是一个三维的透视图;如果你也正需要这样的一个控件,这篇文章将再适合不过了 本文中的PieChart 解决方案包括三个类:PieSlice, PieChart3D 和 PieChartControl (继承于System.Win
findMaxSub
- 找到一个数组中的最大值,并返回其位置。可以适用于二维数组的查找-Find an array of maximum, and return to their location. Can be applied to two-dimensional array to find
CircleArrayBinarySearch
- 在一个环状的有序数组(即把数组看做首位相连,数组最小值和最大值在数组中某个位置相邻)中,使用二分查找寻找一个数是否在数组中,返回其下标。vc 2005环境-In an orderly array of ring (that is, as the first connected to the array, an array of minimum and maximum in the array adjacent to a location), the use of binary search to
ad
- 程序中第一个for语句中又嵌套了一个for语句组成了双重循环。外循环控制逐行处理,并把每行的第0列元素赋予l。进入内循环后,把l与后面各列元素比较,并把比l大者赋予l。内循环结束时l 即为该行最大的元素,然后把l值赋予b[i]。等外循环全部完成时,数组b中已装入了a各行中的最大值。后面的两个 for语句分别输出数组a和数组b。-Procedures for the first statement and a nested for statement composition of a double
REF_VC
- 采用硬件: MP416(16位AD,5V/10V/±5V/±10V量程) 设计思路: 1. 使用MP416_AD()函数,采用通道1测试,基准板输出为±200mV,±2.5V,±10V,GND 等,考虑测量精度,使用MP416的±5V量程测量基准板输出±200mV,±2.5V电压;使用MP416的±10V量程测量基准板输出±10V电压。即通过键盘输入gain值2或3来选择合适量程。 2. 不采用MP416_AD()函数测量平均值,故取测量1
z
- 实现数组的相关功能,如查询,求和,求平均值,求最大值最小值,排序,查找等,并且有菜单,适合靠C语言二级证书的,或者初学者-To achieve an array of related functions, such as query, sum, average, seeking maximum minimum, sort, search and so on, and there are menus for relying on C-2 certificates, or beginners
input10
- 从键盘输入10个整型数据,放入数组a 中,求其最大值及其所在元素的下标位置,并输出-10 integers from the keyboard input data into the array a, find the maximum value of the subscr ipt position where the element, and output
2
- 从键盘输入3*3整型数组的数据,并计算出所有元素之和,打印出最大值和最小值。 输入输出要用流运算符实现。-Input from the keyboard 3* 3 Integer array of data, and calculate the sum of all elements, print out the maximum and minimum values. Use input and output stream operators to achieve.
4
- 1、建立二维数组; 2、选函数》数组》数组最大值与最小值;-1, the establishment of two-dimensional array 2, select the function " array" array of maximum and minimum
cankao
- 编写一个对具有n 个元素的数组x[]求最大值的程序,要求将求最大值的函数设计成函数模板。-The preparation of an array with n elements x [] seek maximum program calling for a function designed to seek maximum value function template.
wanshell
- warshall法顺序:置新矩阵,开始运算;置i=1;对所有j如果A[j,i]=1,则对k=1,2,3……n运算啊A[j,k]:=A[j,k]+A[i,k]; i++;如果i<=n转上继续 需要: 1.输入矩阵,用二维数组,可以考虑全局变量 2.设置矩阵最大值nMax 3.对i从0到n-1循环,寻找每列为1的项,为1则继续运算,否则返回 增强说明: 1.输入方式选择,同时可以选择是否继续运算 2.不再每行确认,增加修改选项 3.使用字符串数组
shuzu
- 包括二维数组的运算,包括去最大、最小值,并且对最值的定位,对数组内的元素进行排序,对数组元素的加减乘除运算等操作
Location
- 在一个数组中找出最大值与最小值,并打印其位置。(Find the maximum and minimum values in an array and print its position.)
作业1
- 在数组中求最大值,调用函数、定义函数 C语言书写(Find the maximum in the array, call the function, define the function)
数组排序和计算练习
- 编写一个控制台程序,输入五个数求和,最大值,平均数,平均值小数点后一位(Write a console program, enter five numbers of summation, maximum, mean, average, one after the decimal.)
exp3
- 定义一个二维数组并随机赋值,然后找出最大最小值,并给出系统所需时间(A two-dimensional array is defined and assigned randomly, then the maximum and minimum values are found out, and the time needed for the system is given.)
函数模板
- C++;使用函数模板求一维数组中的最大和最小值;使用函数模板求一维数组中的最大和最小值(Using function template to find the maximum and minimum values in one-dimensional array.)
MdlFuctions
- 这个类模块集合了各种常用的功能,可直接调用,如插值,一维数组最大最小值平均值,冒泡算法,一元线性回归等(This class of modules sets a variety of common functions, which can be called directly, such as interpolation, maximum and minimum mean value of one dimension array, bubble algorithm, linear regress
寻找最大值和第二大值
- 控制台程序,利用vc编制程序,搜索最大值和第二大值的方法,成功实现所给一维数组中最大值和第二大值的寻找,方便程序寻优移植。