-
一个VC++ 随机数组生成类
VC++随机数组生成类的源代码,代码由重庆大学光电学院311实验室 袁刚编写,将随机生成的数组序列保存在TXT中,srand((unsigned)time(NULL));// 生成时间种子
m=rand()%m_Txt_Line;// 返回一个0-m_Txt_Line-1的随机数,即查表的起始位置
mx=m%m_Txt_Row;// 查表起始位置的列号,文件头为0行0列
my=m/m_Txt_Row;// 查表起始位置的行号
// 下面取出剩下的字符串中每三个空格前面的字符串,就是所要查一个数据
for(m=0;m {
aw2=strc.Find(" ");// 找到作为间隔的后三个空格所在位置
if(mx==m_Txt_Row-1||m==m_Txt_Row-mx-1)
a_Random[ct]=atof(strc);
else
a_Random[ct]=atof(strc.Left(aw2));// 保存数据到数组
aw1=strc.GetLength();
aw2=strc.Find(" ");// 找到作为间隔的前三个空格所在位置
strc=strc.Right(aw1-aw2-m_Txt_Spacing);// 取这三个空格右边的所有字符串
- 2023-02-02 04:50:03下载
- 积分:1
-
to catalog all the documents on your list
将本目录下的所有文件与目录传上您的服务器IIS虚拟目录下.并配置好ASP.NET的运行环境.更改好数据库连接地址即可.-to catalog all the documents on your list-server IIS virtual directory. Good ASP.NET configuration and the environment. Changes good database connectivity address.
- 2023-02-09 03:55:04下载
- 积分:1
-
/*大屏幕显示数字时钟*/ /*要求屏幕按640*480分辩率显示数字时钟,格式为12:18:30,表示12点18分30秒,共8个字符;*/ /*每个字符以80...
/*大屏幕显示数字时钟*/ /*要求屏幕按640*480分辩率显示数字时钟,格式为12:18:30,表示12点18分30秒,共8个字符;*/ /*每个字符以80*100点阵显示,记时真确*/-/* Large Screen Display Digital Clock*//* Require the screen by Resolution 640* 480 display digital clock, the format of 12:18:30, 12:18:30, a total of eight characters;*//* Each character with the 80* 100 Lattice revealed that in mind when true* /
- 2023-02-04 17:55:03下载
- 积分:1
-
EDA考试的五种题目编程,其中包括五人表决器,抢答器,乘法器,自动售货机等,
编译环境为ISE,程序语言VHDL...
EDA考试的五种题目编程,其中包括五人表决器,抢答器,乘法器,自动售货机等,
编译环境为ISE,程序语言VHDL-eda text ise vhdl
- 2023-05-09 05:55:03下载
- 积分:1
-
未经证实的delphi帮助文档,有一定的利用参考价值,希望对各位的delphi应用有所帮助。...
未经证实的delphi帮助文档,有一定的利用参考价值,希望对各位的delphi应用有所帮助。-unconfirmed delphi help files, the use of a certain value, and I hope to you delphi application help.
- 2022-02-13 17:54:14下载
- 积分:1
-
NAT打洞,原理和源代码
P2P之UDP穿透NAT的原理与实现(附源代码)...
NAT打洞,原理和源代码
P2P之UDP穿透NAT的原理与实现(附源代码)-NAT burrows, and the principle and source code P2P UDP penetrate NAT"s Theory and Implementation (source code)
- 2022-10-20 12:55:03下载
- 积分:1
-
伯克利大学量子计算课程讲义(cs191)berkeley university quantum computing course lecture notes...
伯克利大学量子计算课程讲义(cs191)berkeley university quantum computing course lecture notes-berkeley university quantum computing course lecture notes
- 2023-04-03 13:15:12下载
- 积分:1
-
一个简单的kalman filter 滤波程序,应用于初学用matlab编写 kalman filter 滤波程序的人...
一个简单的kalman filter 滤波程序,应用于初学用matlab编写 kalman filter 滤波程序的人-A simple filtering process kalman filter applied to the preparation of novice matlab using kalman filter filtering procedures
- 2022-02-09 23:06:29下载
- 积分:1
-
prolog it easy program called piskvorky X O X O X O
prolog it easy program called piskvorky X O X O X O
- 2022-07-25 12:07:24下载
- 积分:1
-
fsk modulation Frequency shift keying (FSK) is the most
common form of digital...
fsk modulation Frequency shift keying (FSK) is the most
common form of digital modulation in the
high-frequency radio spectrum, and has
important applications in telephone circuits.
This article provides a general tutorial on FSK
in its many forms. Both modulation and
demodulation schemes will be discussed
- 2022-08-17 07:12:58下载
- 积分:1