-
一个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
-
vb开发的消息传递系统
vb开发的消息传递系统-vb development of the messaging system
- 2022-02-27 00:20:57下载
- 积分:1
-
Delphi在Image控件中显示文字
Delphi在Image控件显示和绘制文字,如何在控件中绘制和显示文字呢?请参考这个源码吧。。
- 2022-02-05 19:35:45下载
- 积分:1
-
一个有关定时提示的小程序,来自水木!
一个有关定时提示的小程序,来自水木!- Related fixed time prompts the script, comes from the water
wood!
- 2022-11-30 08:10:03下载
- 积分:1
-
flash production, interactive buttons, packaged applications can be best results
flash制作,互动按钮,成套应用才能得到最佳效果-flash production, interactive buttons, packaged applications can be best results
- 2022-03-21 14:35:12下载
- 积分:1
-
linux 下安装oracle92 rac系统
linux 下安装oracle92 rac系统-oracle92 rac install linux system
- 2022-02-12 13:28:48下载
- 积分:1
-
VB.net examples of source code, can help you learn from this
VB.net实例源代码,可以帮助您学习一下-VB.net examples of source code, can help you learn from this
- 2023-04-19 05:40:03下载
- 积分:1
-
source code about game mobile
source code about game mobile
- 2022-08-20 13:39:22下载
- 积分:1
-
显示"石头"、"剪子"、"布",全靠运气,学习C++语言的小程序
显示"石头"、"剪子"、"布",全靠运气,学习C++语言的小程序-showed that the "stone", "scissors", "Bush," depends entirely on luck, the C language learning procedures for small
- 2022-03-12 21:27:46下载
- 积分:1
-
国内类似ACDsee的一个的查看各种图片的工具源码,含有查看图片缩略图,放大缩小查看,支持bmp,jpg,png,gif等多种格式图片...
国内类似ACDsee的一个的查看各种图片的工具源码,含有查看图片缩略图,放大缩小查看,支持bmp,jpg,png,gif等多种格式图片-ACDSee domestic similar view of a tool for a variety of picture source containing View picture thumbnails, zoom view, support bmp, jpg, png, gif image formats, etc.
- 2023-02-15 06:50:03下载
- 积分:1