-
均值聚类算法 vc++图形演示程序
K-均值聚类算法 vc++图形演示程序-K-means clustering algorithm c++ demo program
- 2022-02-16 03:27:12下载
- 积分:1
-
1:先进先出和后进先出法;2:CRC校验码的算法
1:FIFO和LIFO程序;2:CRC校验码算法-1: FIFO and LIFO procedure; 2: CRC verification code algorithm
- 2023-06-17 12:50:03下载
- 积分:1
-
CoStream 无缓存 Pipe Stream
翻译 maninwest@Codeforge 作者:Sergey Nozhenko@CodeProject介绍:CoStream 是的 PipeStream 无缓存替代选择。背景在生产者/消费者模式下,如果我们知道一个消费者确定要读取stream 读到结束或者如果不能读到结束就处理,那么同步stream 就不需要维护自己的内部缓存,完全依赖于 Read 方法调用者的缓存。在Read 方法中,CoStream 保存到目标缓存的引用并等待,直至完成。而 write 方法从源缓存中复制数据到目标缓存,会给读取者发送信号缓存已准备就绪或者需要等待期 Read 调用(如果来源缓存中有未消耗的数据剩下或者返回到Writer 调用者)。使用代码CoStream 不能在单个话题中使用。应该至少有两个,读取和写入话题。两者都需要关闭(或处理)stream,一边对方可以继续到结束。测试程序在 XmlDocument 中加载了一些 xml 文件。然后将其写入到 CoStream 的实例Static CoStream costream = new TestCoStream();
static string outpath;
static void Main(string[] args)
{
// ...
XmlDocument doc = new XmlDocument();
doc.Load(args[0]);
outpath = args[1];
var reading_thread = new Thread(ReaderBody);
reading_thread.Start();
using (var pipe = XmlWriter.Create(costream, new XmlWriterSettings { CloseOutput = true }))
doc.Save(pipe);
reading_thre
- 2022-03-17 17:34:17下载
- 积分:1
-
本代码是常用的搜索算法,应用于黑白棋游戏当中。用visual c++开发...
本代码是常用的搜索算法,应用于黑白棋游戏当中。用visual c++开发-the code is commonly used search algorithm, which used the game reversi. C using visual development
- 2022-03-05 20:22:34下载
- 积分:1
-
LabWindowsCVI入门教程,让你快速学会LabWindowsCVI的一些基本使用方法,麻烦管理员帮我开通下载功能,我急需要本网站上的labwindows...
LabWindowsCVI入门教程,让你快速学会LabWindowsCVI的一些基本使用方法,麻烦管理员帮我开通下载功能,我急需要本网站上的labwindows/CVI方面的数据库教程,谢谢!-LabWindowsCVI Getting Started Guide, lets you quickly learn to use some of the basic LabWindowsCVI method, the administrator of trouble to help me to open the download feature, I hasten to this site labwindows/CVI database tutorial, thank you!
- 2022-02-14 12:38:56下载
- 积分:1
-
这是一个用D6实现的对LineGuard进行通信的简单例程,通过该程序,你可以对Modbus协议有一个基本的了解...
这是一个用D6实现的对LineGuard进行通信的简单例程,通过该程序,你可以对Modbus协议有一个基本的了解-This is a realization of the D6 used to communicate LineGuard simple routines, the adoption of the program, you can right Modbus has a basic understanding
- 2023-02-14 00:25:04下载
- 积分:1
-
this program calculate the determinant and inverse of matrix. also calculate the...
this program calculate the determinant and inverse of matrix. also calculate the multiplication of two matrices.
- 2023-05-08 02:55:03下载
- 积分:1
-
motor control with pwm
motor control with pwm
- 2023-03-17 02:35:04下载
- 积分:1
-
练习训练游戏,游戏规则详见源代码注释部分,全C语言编程..........
练习训练游戏,游戏规则详见源代码注释部分,全C语言编程.......
-practice training game, the rules of the game as detailed source notes, the entire C language programming ...
- 2023-08-18 10:55:03下载
- 积分:1
-
Powerbuilder8.0实用程序设计100例之51
Powerbuilder8.0实用程序设计100例之51-60-Powerbuilder8.0 Utility Design 100 Cases of 51-60
- 2022-01-26 16:00:29下载
- 积分:1