-
How to use the WinIo library in Win2000 and WinXP system. this sample will lead...
VC下WinIo的应用实例(改进版)根据前一版有网友提出的建议进行改进,为了在VC中能正常使用WinIo库,必须按以下步骤进行配置:
(1):将WinIo.dll、WinIo.sys、WINIO.VXD三个文件放在程序可执行文件所在目录下;
(2):将WinIo.lib添加到工程中,WinIo.lib及winio.h文件必须放在工程目录下;
(3):在StdAfx.h头文件中加入#include "winio.h"语句;
(4):调用InitializeWinIo函数初始化WinIo驱动库;
(5):调用读写IO口的GetPortVal或SetPortVal函数;
(6):调用ShutdownWinIo函数;
本实例是在VC6.0环境下 XP系统.
-How to use the WinIo library in Win2000 and WinXP system. this sample will lead you to use the WinIo rightly.
- 2022-08-21 23:18:28下载
- 积分:1
-
通过Win32函数来修改显示器分辨率
通过Win32函数来修改显示器分辨率-through Win32 function to amend the resolution display
- 2022-05-26 15:15:33下载
- 积分:1
-
案例15动画心 很好的东西,应付实习
案例15动画心 很好的东西,应付实习-animation heart good things to cope with attachment
- 2022-01-28 18:41:19下载
- 积分:1
-
PMSM无位置传感矢量控制
基于MATLAB/simulink搭建的应用于永磁同步电机(PMSM)的无传感器控制,主要是基于矢量控制,采用滑模转速和转子位置观测器取代传统的位置传感器,最终实现对PMSM的控制(The sensorless control based on MATLAB/simulink for permanent magnet synchronous motor (PMSM) is mainly based on vector control. Instead of the traditional position sensor, the sliding mode speed and rotor position observer are used to control the PMSM.)
- 2021-04-26 20:38:45下载
- 积分:1
-
运动会管理系统源代码!
运动会管理系统源代码!-Games Management System source code!
- 2022-02-21 17:17:39下载
- 积分:1
-
模拟交通信号灯控制,一般情况下正常显示,有急救车到达时,两个方向交通 信号灯全红,以便让急救车通过。设急救车通过路口时间为10 秒,急救车通过后,交通恢 复正常...
模拟交通信号灯控制,一般情况下正常显示,有急救车到达时,两个方向交通 信号灯全红,以便让急救车通过。设急救车通过路口时间为10 秒,急救车通过后,交通恢 复正常,用单次脉冲申请外部中断,表示有急救车通过。-simulated traffic signal control, under normal circumstances normal show that emergency vehicles arrived, the two directions of traffic lights all red, in order to allow emergency vehicles through. Based emergency vehicles through the intersection for 10 seconds, after the passage of emergency vehicles, traffic returned to normal, with a single pulse for external interrupts, saying that a first aid trucks.
- 2023-07-06 21:40:03下载
- 积分:1
-
贪心算法解决分割问题
给定一定的宽度,和N个输入(宽度)
得出最小的宽度...
贪心算法解决分割问题
给定一定的宽度,和N个输入(宽度)
得出最小的宽度-greedy algorithm to solve the segmentation problem must set the width and N input (width) reached the minimum width
- 2022-02-10 13:43:33下载
- 积分:1
-
TCP的客户服务器通信程序 一:程序运行过程 1、运行服务器程序,等待客户端发出请求 2、运行客户端程序,输入客户的IP地址,请求连接 3、若连接成功,服务器端...
TCP的客户服务器通信程序 一:程序运行过程 1、运行服务器程序,等待客户端发出请求 2、运行客户端程序,输入客户的IP地址,请求连接 3、若连接成功,服务器端显示客户的IP地址及端口号;客户端接收文件并保存在d:clientls.txt下,否则,显示错误信息。 二:程序实现原理 发送端:打开文件,逐一读取字符到缓冲区(缓冲区大小为1024),若文件大于1024,则成块发送;若小于,则直接发送。 接受端:与发送端同理。-TCP client-server communication program one : running a process, running the server and wait for the client to issue two requests, the client operating procedures, the importation of customer IP address, link request, if successful connection, the server-client shows the IP address and port number ; the client receives the document and preserve d : client ls.txt, otherwise an error message. 2 : Principle procedures transmitter : open the file, read each character to the buffer (buffer size for 1024), and if the document is greater than 1,024, then sent into pieces; If less, then sent directly. Receivers : Send-the same reason.
- 2022-06-30 17:04:28下载
- 积分:1
-
BM 算法是一个较优的模式匹配算法。一般,如果不考虑模式串的长度,一个具有时间复杂度O(n)的算法应该是最优的了,但是事实不是如此。BM算法可以实现更高效率的模...
BM 算法是一个较优的模式匹配算法。一般,如果不考虑模式串的长度,一个具有时间复杂度O(n)的算法应该是最优的了,但是事实不是如此。BM算法可以实现更高效率的模式匹配。分析和实验说明,BM匹配算法对于那些字符集比较大,而模式串中出现的字符比较少的时候,工作效率最快。而且,考虑KMP匹配方式的优化,可以结合KMP匹配和BM匹配,进一步提高效率。
-BM algorithm is a better pattern matching algorithm. General, if we do not consider the length of pattern, a time complexity O (n) algorithm should be optimal, but the fact is not the case. BM algorithm can achieve higher efficiency of pattern matching. Analysis and experiments, BM-matching algorithm for those relatively large character set, and the mode string of characters appearing in less time, the efficiency of the fastest. Moreover, consider the KMP matching optimization, you can match the combination of KMP and BM match, and further improve efficiency.
- 2023-01-27 01:15:04下载
- 积分:1
-
一个关于字符串匹配的算法,已经经过编译,希望对你有帮助...
一个关于字符串匹配的算法,已经经过编译,希望对你有帮助-on a string matching algorithm, has been built, want to help you
- 2022-03-06 21:53:48下载
- 积分:1