-
一个简单的c语言实现的纸牌程序
用一个具有52个元素的数组(如char p[52][5])存放这52张牌的内容,如P_i表示黑桃、H_i表示红桃、C_i表示梅花、D-i表示方块;程序中可以首先初始化该数组,然后显示菜单等待用户选择输入,用户选择“发牌”,程序调用“发牌”函数;在发牌函数中,可使用C 中的产生随机数的函数(参看rand(),srand(),random()等函数的使用说明)一个随机数m,选取一张牌{p[m]},将其与最前面的牌交换位置,即将选取的牌放在最前面;然后对数组p余下的牌重复选取操作,直到所有牌均重排列;最后按13行*4列输出发牌结果
- 2022-01-29 00:25:19下载
- 积分:1
-
bubble,insertion, selection排序
bubble,insertion, selection排序-bubble sort,insertion sort, selection sort
- 2022-03-24 09:06:41下载
- 积分:1
-
电子工业Matlab 6.X辅助优化计算与设计原代码
电子工业Matlab 6.X辅助优化计算与设计原代码-electronics industry Matlab 6.X assisted optimization code with the original design
- 2022-02-12 22:12:32下载
- 积分:1
-
泛型的粒子滤波算法
泛型粒子过滤器:
注: 重采样对这种演算法称为每个步骤执行时引导粒子滤波
- 2022-02-02 16:53:42下载
- 积分:1
-
请大家多指教,我很乐意交流
请大家多指教,我很乐意交流-Please enlighten more, I am happy to share!
- 2022-11-09 13:35:04下载
- 积分:1
-
C语言滤波算法
C语言实现的各种滤波算法,包含均值、中值、滑动、限幅、去极值平均、移动平均/加权平均滤波算法等非常经典使用的算法,可直接移植到嵌入式系统中。
- 2022-01-21 18:28:32下载
- 积分:1
-
一个计算圆周率的自编程序(带原码)。可以计算40000位以内的圆周率。经过充分优化,速度非常快。 开发平台:turbo...
一个计算圆周率的自编程序(带原码)。可以计算40000位以内的圆周率。经过充分优化,速度非常快。 开发平台:turbo-pascal 7.0, 嵌入汇编。-a calculation of the ratio of circumference wrote (with the original code). 40,000 can be calculated within the pi. After full optimization, speed very quickly. Platform : turbo-pascal 7.0, embedded in the compilation.
- 2023-02-21 03:25:04下载
- 积分:1
-
This is a program that generate a universe of chromas females and males, crosses...
This a program that generate a universe of chromas females and males, crosses men with women and makes the best chromosome of generation-This is a program that generate a universe of chromas females and males, crosses men with women and makes the best chromosome of generation
- 2022-11-11 12:50:03下载
- 积分:1
-
多层感知器神经网络模型
多层感知器神经网络反向误差传播学习算法多层感知神经网络由输入层、输出层和若干隐层组成本例中用多层感知神经网络求解异或判决问题通过对样本xor.dat的训练进行自学习
- 2023-03-02 08:20:04下载
- 积分:1
-
that the procedure was constructed using wavelet neural network function of the...
该程序是用小波函数构建神经网络的源程序。用以分析心电信号、脑电信号等等。-that the procedure was constructed using wavelet neural network function of the source. For the analysis of ECG, EEG, and so on.
- 2022-02-04 20:30:21下载
- 积分:1