-
电影票
图书馆管理系统 C+ + * 递归程序为线性搜索 * /#includeint 线性 (int [],int,int) ;无效的主要 (){int a [20],pos = 1,n,k,我 ;clrscr() ;printf ("nEnter n 值:") ;scanf ("%d",& n) ;printf ("nEnter 元素的数组:") ;为 (我 = 0 ; 我 < n; i + +)scanf ("%d"& a[i]) ;printf ("n 输入要搜索的元素:") ;scanf ("%d"& k) ;pos=linear(a,n,k) ;if(pos!=-1)printf ("n 搜索成功,发现位置 %d 处的元素",pos) ;其他printf ("搜索失败,找不到元素") ;残培 () ;}int 线性 int k int n int []){int ;为 (我 = n-1 ; 我 > = 0; 我 — —){if(a[i]==k)return(i) ;其他{n = n-1 ;return(linear(a,n,k)) ;}}返回-1 ;}
- 2022-02-02 00:00:53下载
- 积分:1
-
Camshift跟踪
基于Camshift的目标跟踪。基于Camshift的目标跟踪。基于Camshift的目标跟踪。基于Camshift的目标跟踪。基于Camshift的目标跟踪。基于Camshift的目标跟踪。基于Camshift的目标跟踪。基于Camshift的目标跟踪。基于Camshift的目标跟踪。基于Camshift的目标跟踪。
- 2022-04-16 22:14:22下载
- 积分:1
-
中缀表达式转中缀表达式,后缀表达式的计算
中缀表达式转中缀表达式,后缀表达式的计算-which is made up of ordinary Chinese expression to expression, the expression calculation Suffix
- 2022-01-26 03:19:50下载
- 积分:1
-
基于计算流体力学的目录,包含各种格式和高
学习CFD的基础教程,含有各种差分格式和高精度本质无振荡算法源程序。-learning CFD based directory containing a variety of formats and high-precision differential nature without oscillation algorithm source.
- 2022-09-06 19:50:02下载
- 积分:1
-
是一个利用VC实现的求星期几的小程序.它可以实现你所在日期的是星期几的查询.是一个比较简单的程序.
是一个利用VC实现的求星期几的小程序.它可以实现你所在日期的是星期几的查询.是一个比较简单的程序.-VC is a realization of a few weeks for a small procedure. It can be achieved in your date is a few weeks of inquiries. It is a relatively simple procedure.
- 2022-06-14 07:43:06下载
- 积分:1
-
本程序用于有限元方法中空间8节点单元刚度矩阵的计算,并通过文本文件实现数据间的传输,在VB中通过shell函数来调用fortran的程序,实现二者的混合编程。...
本程序用于有限元方法中空间8节点单元刚度矩阵的计算,并通过文本文件实现数据间的传输,在VB中通过shell函数来调用fortran的程序,实现二者的混合编程。
-This procedure for the finite element method in space for 8-node element stiffness matrix calculation, and through text files between data transmission, in VB through shell function to call fortran procedure, the two realize mixed language programming.
- 2022-08-04 01:29:32下载
- 积分:1
-
利用AFEPack包求解变二次系数的椭圆型方程.在求解这个问题的过程中,先要把程序的结构进行整理,将变二次项系数的因素加进去 ,并使得其更加有利于复杂一些的问题...
利用AFEPack包求解变二次系数的椭圆型方程.在求解这个问题的过程中,先要把程序的结构进行整理,将变二次项系数的因素加进去 ,并使得其更加有利于复杂一些的问题的求解 。为此,我们使用一个类来管理这个求解的问 题,先写一个对这个类进行声明的头文件 EllipticEquation.h-Use AFEPack package for solving variable coefficient elliptic quadratic equation. In solving this problem, the first to organize the structure of the procedure will change coefficient of quadratic terms added to the list of factors, and make it more conducive to the complexity of some of the problem solving. To this end, we use a class to manage to solve this problem, first write a statement of this type for the header files EllipticEquation.h
- 2022-10-04 20:40:03下载
- 积分:1
-
利用随机数生成函数生成基带序列码,实现ASK键控!
利用随机数生成函数生成基带序列码,实现ASK键控!-Use of random number generator function to generate base-band sequence code keying realize ASK!
- 2022-02-26 16:52:53下载
- 积分:1
-
理发馆的排队模拟
理发馆的排队模拟- The haircut hall lines up simulates
- 2022-03-19 06:41:35下载
- 积分:1
-
相亲游戏
这是一个模拟相亲的程序,包括男选女、女挑男等一系列过程,通过数次“选择”,和“抛弃”,确保找到最合适的配对伙伴。最终将整个团队中的人配完对。
- 2022-07-28 08:35:53下载
- 积分:1