-
vc++学习资料,包括“孙鑫老师《vc++深入详解》1
vc++学习资料,包括“孙鑫老师《vc++深入详解》1-20课笔记”“VC++编程指南”“vc经典教程”-vc++ learning materials, including
- 2022-03-31 19:58:35下载
- 积分:1
-
井字游戏 - 游戏人生
井字游戏 (或零和十字、 XS 和OS) 是一个纸笔游戏为两名球员,X 和 O,服用变成标记一个 3 × 3 网格中的空格。这位成功地将三个各自标志放置在水平、 垂直或对角线的行中的球员赢得这场比赛。下面的示例游戏中赢得了第一的球员,井字游戏 X:Game 赢得了 X球员们很快就发现从双方的最佳发挥会导致一场平局 (通常指猫或 cat 的游戏)。因此,井字游戏最常扮演的是年幼的孩子。井字游戏的简单性使得它理想作为一种教学工具的教学概念的良好的体育精神和处理的博弈树搜索的人工智能的一个分支。它是直截了当写计算机程序来玩井字游戏完美,以枚举 765 本质上不同的位置 (国家空间复杂性) 或 26,830 可能游戏旋转和反射 (博弈树复杂性) 在这个空间。[] 1这场比赛可以推广到 m、 n、 k 游戏两个玩家交替 m × n 的董事会,与,目的是让自己的色彩 k 行中自己颜色的条石。井字游戏是 (3,3,3)-游戏。
- 2022-03-25 16:08:58下载
- 积分:1
-
可以求多元非线性方程组的一组解,实用性好,效率高。
可以求多元非线性方程组的一组解,实用性好,效率高。-Can seek a diverse group of non-linear equations solution, practical and efficient.
- 2023-05-23 08:50:03下载
- 积分:1
-
自己以前做的汇编小程序,希望对大家有用。
自己以前做的汇编小程序,希望对大家有用。-A compilation of their previous small program to do the hope that useful for everyone.
- 2023-03-11 17:30:04下载
- 积分:1
-
一个线程池的一个类,基本使用如下:
一个线程驰的类, 下面的是基本的使用方法 struct TSession { SOCKET socket int id } class myIocp:public CIOCP { public: void OnRead(void * p, char * buf, int len) void OnAccept(SOCKET socket) void OnClose(void * p) } void myIocp::OnAccept(SOCKET socket) { TSession *s = new TSession s->socket = socket //这里可以对连接的session进行自己的操作,例如给id找一个唯一的值 SetIoCompletionPort(socket, s) // 使连接socket与一个自定义结构体关联 } void myIocp::OnRead(void * p, char * buf, int len) { TSession *s = (TSession *)p send(s->socket, buf, len, 0) // 这里只是简单的把收到的消息返回给客户端 ... } void myIocp::OnClose(void * p) { delete p } myIoncp iocp main() { ... iocp.listen(4311) // 开始监听网络端口,等待客户端连接 ... }-A class for thread pool,basic usage below:
struct TSession { SOCKET socket int id } class myIocp:public CIOCP
{ public:
void OnRead(void* p, char* buf, int len)
void OnAccept(SOCKET socket)
void OnClose(void* p) }
void myIocp::OnAccept(SOCKET socket)
{ TSession*s = new TSession s->socket = socket
//here you can do something about connecti
- 2022-07-17 05:14:52下载
- 积分:1
-
介绍了为基于Windows CE的设备开发设备驱动程序的过程,解释了如何创建简单和流接口驱动程序,以及如何实现通用串行总线(USB)和网络驱动程序接口规范(ND...
介绍了为基于Windows CE的设备开发设备驱动程序的过程,解释了如何创建简单和流接口驱动程序,以及如何实现通用串行总线(USB)和网络驱动程序接口规范(NDIS)驱动程序-introduced for Windows CE-based devices device driver process, and explained how to create a simple interface and flow-driven procedures, and how to achieve universal serial bus (USB) and Network Driver Interface Specification (NDIS) driver
- 2022-11-04 14:35:03下载
- 积分:1
-
Graphical display, java respect columnar diagram shows, in order to better expre...
图形显示,java方面的柱型图显示,
为更好的,表达各个方面的表达效果-Graphical display, java respect columnar diagram shows, in order to better express the various aspects of the expression of the effect of
- 2022-03-19 11:15:28下载
- 积分:1
-
自己写的XML解析程序,用于操作XML数据库,把业务逻辑抽象为一个根据ID写入记录的函数,另一个根据ID读出记录的函数。如果ID对应的记录不存在则写入函数插入记...
自己写的XML解析程序,用于操作XML数据库,把业务逻辑抽象为一个根据ID写入记录的函数,另一个根据ID读出记录的函数。如果ID对应的记录不存在则写入函数插入记录,或读出函数返回0。
用VC6或VC2008都可以打开工程编译。-Write your own XML parser, XML database for the operation of the business logic for an abstract in accordance with a written record of the function ID, and the other under the ID read out the record function. If the ID does not exist the corresponding record is written into the function to insert records, or to read out the function returns 0. VC6 or use VC2008 to open the project can be compiled.
- 2022-04-25 12:49:41下载
- 积分:1
-
两层神经网络的MATLAB仿真实现
两层神经网络的MATLAB仿真实现,具体实现每层数据的采集处理。以两层神经网络为例,提供解决神经网络仿真问题的心思路。有很好的扩展性,方便使用,易修改。
- 2022-03-09 23:23:09下载
- 积分:1
-
this is a simple temp converter from fahrenheit to celsius
this is a simple temp converter from fahrenheit to celsius
- 2022-01-28 23:26:52下载
- 积分:1