-
串口通信,发送接收数据
- 2023-01-02 21:35:06下载
- 积分:1
-
自己写的闹钟,供初学者学习。功能有不完善之处希望大家修改。...
自己写的闹钟,供初学者学习。功能有不完善之处希望大家修改。-Write your own alarm clock, for beginners to learn. Functional imperfections have hope that we modify.
- 2022-02-03 21:46:05下载
- 积分:1
-
超市库存管理,采购,销售模块。完美语句,…
管理超市库存,采购,销售的模块.完善的报表,收银.方便管理人员查看报表,再好的为管理人员做出正确的决策提供依据.-Supermarket inventory management, purchasing, sales module. Perfect statements, the cash register. To facilitate managers to view reports, no matter how good for managers to make the right decisions.
- 2022-03-23 20:04:11下载
- 积分:1
-
《VS.NET十大案例》
《VS.NET十大案例》-"The Way of the 10 cases"
- 2023-01-08 06:15:03下载
- 积分:1
-
taskmgr就是任务管理器的源码也许好多人都有了^_^
taskmgr就是任务管理器的源码也许好多人都有了^_^-taskmgr Task Manager is the source may have a lot of people _ ^ ^
- 2022-02-01 05:55:02下载
- 积分:1
-
The main algorithms for some commonly used procedures, all the algorithms are de...
主要为一些常用的算法程序,所有的算法均用C语言描述。
-The main algorithms for some commonly used procedures, all the algorithms are described using C language.
- 2023-08-22 01:05:03下载
- 积分: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
-
用keil软件编写的程序,用单片机实现简单的音乐,该程序实现欢乐颂第一句的音乐,可以改变其中的参数,来实现其它音乐....
用keil软件编写的程序,用单片机实现简单的音乐,该程序实现欢乐颂第一句的音乐,可以改变其中的参数,来实现其它音乐.-make some music by System on chip
- 2022-05-04 23:34:05下载
- 积分:1
-
在VC下面开发的小程序,利用MCI知识,实现了录音,播放,打开,保存等功能...
在VC下面开发的小程序,利用MCI知识,实现了录音,播放,打开,保存等功能-below in the development of the VC small procedure, and use MCI knowledge and to the recording, playback, open, functional preservation
- 2023-08-19 11:15:03下载
- 积分:1
-
薪酬门户使用servlet
Servlet程序实施薪酬门户的一个组织,由不同的部门和人员的名称。
- 2022-12-10 17:55:03下载
- 积分:1