-
Chinese chess. The project is in Visual Studio.net 2003 built under Win32 consol...
中国象棋。该项目系在Visual Studio.net 2003下所建的Win32控制台项目(使用其它版本的编译器只需新建一个Win32控制台项目,然后逐一加入所有的.cpp文件和.h文件即可),其目的只是简单地测试引擎。因而该程序不提供用户着法的合法性检测,以及棋局的结束处理等。
下棋方式:
用户按输入起点坐标、终点坐标的方式下棋;
(棋盘左下角计作(0,0),右上角计作(8,9))
同样,程序反馈起点坐标、终点坐标作为计算机方的走棋行为。
例如:
用户第一步走:炮二平五
则输入7242,回车
计算机回应:马8进7
则屏幕输出79 67
-Chinese chess. The project is in Visual Studio.net 2003 built under Win32 console project (using the other version of the compiler simply create a new Win32 console project, and then adding one by one all. Cpp files and. H file can be), its The purpose of simply testing the engine. Thus the program does not provide users with the legitimacy of law detection, and treatment, such as the end game. Play chess the way: the user input according to the starting point coordinates, end coordinates of the way a game of chess (lower left-hand corner of the chessboard for the (0,0), the upper right corner of dollars for (8,9)) Similarly, the starting point coordinates of the feedback process, the end o
- 2023-01-15 21:45:03下载
- 积分:1
-
嵌入式WINCE实现画图特殊效果,用EVC开发实现的例子
嵌入式WINCE实现画图特殊效果,用EVC开发实现的例子-Embedded WINCE realize drawing special effects, and realize the development of examples of EVC
- 2022-02-02 19:28:22下载
- 积分:1
-
CHtmlView访问文件内部资源与innerHTML演示
CHtmlView访问文件内部资源与innerHTML演示-document internal resources and innerHTML demo
- 2022-05-09 01:36:37下载
- 积分:1
-
图的遍历包括深度优先搜索和广度优先搜索,大家可以看看。...
图的遍历包括深度优先搜索和广度优先搜索,大家可以看看。-Graph traversal, including depth-first search and breadth-first search, we can look at.
- 2022-06-01 17:16:41下载
- 积分:1
-
javacc4.0版本,使用方法设置环境变量即可
javacc4.0版本,使用方法设置环境变量即可-javacc4.0 version, use the method of setting environment variables can be
- 2022-02-27 03:09:41下载
- 积分:1
-
一个用.net做的发email程序
一个用.net做的发email程序-A use. Net so fat email procedures
- 2022-03-17 22:34:03下载
- 积分:1
-
SNMP示例程序
Net-snmp是一个开源代码,我所使用的版本为5.4.1,但是帮助文档不够详尽,相关资料甚少,希望这篇文章对刚接触这方面的人有所帮助,我也是刚接触net-snmp,有很多不懂的地方,希望有达人指点。 首先要编译整个工程,生成静态库文件,否则后面的工作不能进行。 打开net-snmp-5.4.1win32win32.dsw,我使用的环境为VS2003,需要对所有的项目进行转换。 打开snmptrap项目,观察其静态库引用路径可以发现它的路径配置为../lib/debug,这也正是生成项目后产生的lib文件的路径。自己项目的库文件引用配置路径可以参考snmptrap项目。 刚下载的程序包是不包含库文件的,需要自己生成。先后生成libagent、libhelpers、libnetsnmptrapd、libsnmp、netsnmpmibs五个项目,相应会生成五个静态库文件,包括:netsnmp.lib、netsnmpagent.lib、netsnmphelpers.lib、netsnmpmibs.lib和netsnmptrapd.lib。没有这些静态库文件就不能生成整个解决方案,这也正是直接生成解决方案不能成功的原因。好了,现在可以重新生成整个解决方案了。如果这步成功了那么就可以开始自己的工作了。 自己的项目的配置属性可以参考项目snmptrap或者项目snmptest来配置。下面这段代码是一段简单的测试程序,可以正常发送trap包到目标主机162端口,可以在此基础上根据自己的实际需要修改。
- 2022-03-15 11:28:27下载
- 积分:1
-
dynamic DLL on the source
关于动态DLL的源码-dynamic DLL on the source
- 2022-08-06 11:31:31下载
- 积分:1
-
VB modbus CRC16查表法校验循环法校验
vb6.0 或VB.net 中关于Modbus 与仪器、plc、仪表通讯的CRC16 校验,CRC16校验包含循环法和查表法
- 2023-05-25 07:45:03下载
- 积分:1
-
to check and control parallel port in a system
to check and control parallel port in a system-to check and control parallel port in a system
- 2022-02-09 19:31:03下载
- 积分:1