-
EVC开发的读取系统时间,如果时间错误,通过调用控制面板强制用户修正时间。
EVC开发的读取系统时间,如果时间错误,通过调用控制面板强制用户修正时间。-EVC developed reading system time, time error, by calling the user control panel to amend the mandatory time.
- 2022-07-13 15:25:10下载
- 积分:1
-
是一个简单的网络聊天程序。但是它具有一些灵巧的功能。一个是它将记住你所发送信息的电脑名称,所以当你再一次启动应用程序时,不必每一次都要输入它们。另一方面,当这个...
是一个简单的网络聊天程序。但是它具有一些灵巧的功能。一个是它将记住你所发送信息的电脑名称,所以当你再一次启动应用程序时,不必每一次都要输入它们。另一方面,当这个应用程序最小化时,它可位于系统托盘中。当它在系统托盘中时,它有两个选项。当新消息到达时,它或者可以在系统托盘中闪烁其小图标,或者它可以取消最小化状态,以表示收到一个新消息。具体设置可以按照用户的喜好设定。-is a simple Web chat program. But it has some smart features. One is to remember that you will send a message to the computer, therefore, when you once again to launch applications, not every time they have to import. The other hand, when the smallest of applications, it can be located in the system tray. When it is in the system tray, it has two options. When the new news arrived, or it could be in the system tray icon flashing its small, or it can be abolished minimum state to show received a new news. Specific settings can be based on user preferences.
- 2022-03-24 12:42:51下载
- 积分:1
-
XML Demo Code
Xml应用程序:
- 2022-05-17 00:39:17下载
- 积分:1
-
迷宫追寻小游戏 C++MFC
应用背景
这个游戏为玩家控制红色方块,去吃掉棕色,绿色,蓝色的方块,一旦一个方块被吃,便会自动生成另一个相同颜色的方块。直到游戏时间结束为止。
程序函数功能:
ondraw函数:
显示游戏界面(用画刷刷成白色),显示地图(黑色),显示食物0,1,2(分别为:棕色,绿色,蓝色),显示玩家(红色)
显示文字,时间,分数。
OnEraseBkgnd函数:
用来更新窗口背景,游戏以位图为窗口背景。
OnGameStart函数:
关联窗口菜单中的开始游戏。包括:
IniGame();(初始化游戏)
m_nGameStatus=1;(游戏状态1,开始)
SetTimer(1,100,NULL);(定时器0.1秒执行一次OnTime)
Invalidate();(转向OnDraw)
IniGame函数:
初始化游戏,确定游戏显示位置,确定玩家初始位置,转向IniAim函数
IniAim函数:
初始化目标,这里的三个目标的位置为随机产生。
OnKeyDown函数:
监控设备按下的键,确定玩家移动方向。
ReDisPlay函数:
重画点所在的小方块。减少对Invalidate()的调用,使屏幕不太闪硕。
OmTimer函数:
完成时间的计算。
关键技术游戏中的人工智能:
棕色方块的移动算法为基本寻路算法—物体沿着墙走。
绿色方块的移动算法为基本的逃避算法—物体总会向玩家的反方向移动。
蓝色方块的移动算法为漫游算法—随机产生一个方向值,物体移动的方向不
- 2022-03-23 18:25:51下载
- 积分:1
-
在使用过程中可使用正则表达式的识别…
识别正则表达式
可以在书写之前先用它验证的程序 很好用
有源代码-Identification of regular expressions can be written before the procedure to use it to verify a good use of active code
- 2022-04-07 13:56:55下载
- 积分:1
-
os Experiment (missing pages interruption), writing a good hard ah, because not...
os实验(缺页中断),写的好辛苦啊,因为没有从事c/c++.-os Experiment (missing pages interruption), writing a good hard ah, because not engaged in c/c.
- 2022-04-15 02:38:57下载
- 积分:1
-
power flow using Gauss-sidle method to solve power flow
这对于功率流分析非常有用。此程序可用于验证用户程序是否给出正确的负荷流解决方案(使用Gauss-Siedel方法最多4个有效数字)。程序给出了中间解。用户应按以下指定格式提供数据和解决方案;
- 2023-02-26 16:25:03下载
- 积分:1
-
VC过零率效果很好是本人编的,若有问题,请高人指点
VC过零率效果很好是本人编的,若有问题,请高人指点-VC zero rate is very effective Part I, if it, please thank the guidance of a person
- 2023-08-14 17:30:03下载
- 积分:1
-
智能语音espeak 的中文插件!,如果要能够播报中文,则加载进去,具体方法见readme...
智能语音espeak 的中文插件!,如果要能够播报中文,则加载进去,具体方法见readme-Intelligent Voice Chinese espeak plugin! , If you want to be able to broadcast in Chinese, is loaded into the specific methods, see readme
- 2022-02-03 12:10:47下载
- 积分:1
-
Function ulong OpenPort (ulong HWND, uint uMsg, ulong dwPort, ulong dwBaud, char...
Function ulong OpenPort(ulong HWND,uint uMsg,ulong dwPort,ulong dwBaud,char byByteSize, char byParity, char byStopBits) Library "comIO.dll"
subroutine ClosePort(ulong dwHandle) Library "comIO.dll"
subroutine StopIO() Library "comIO.dll"
Function ulong ReadBuffer(ulong dwHandle,ref string pBuffer,ulong dwBufferLen) Library "comIO.dll"
Function ulong WriteBuffer(ulong dwHandle,ref string pBuffer,ulong dwBufferLen) Library "comIO.dll"
//wparam 数据字节长度
//lparam 端口句柄
email:zzp0809@hotmail.com
适合PB,VB,delphi,VFP任何win窗口程序;
下载者,应用者请来一份email。
-Function ulong OpenPort (ulong HWND, uint uMsg, ulong dwPort, ulong dwBaud, char byByteSize, char byParity, char byStopBits) Library " comIO.dll" subroutine ClosePort (ulong dwHandle) Library " comIO.dll" subroutine StopIO () Library " comIO . dll " Function ulong ReadBuffer (ulong dwHandle, ref string pBuffer, ulong dwBufferLen) Library" comIO.dll " Function ulong WriteBuffer (ulong dwH
- 2022-03-17 18:08:22下载
- 积分:1