-
较完善的人事考勤工资管理系统,如有不明之处请email本人。
较完善的人事考勤工资管理系统,如有不明之处请email本人。-Better wages and personnel attendance management system, if there is unclear, please email me.
- 2023-01-05 06:25: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下小游戏扫雪的源代码,大家快来分享.
windows下小游戏扫雪的源代码,大家快来分享.-small snow game"s source code, we hurry to share.
- 2022-08-10 12:02:03下载
- 积分:1
-
按键串口控制电机转速加测速STM32
通过按键控制直流电机的加减速同时通过串口显示当前速度,亦可用串口发送指令来控制电机转速,带有测速显示,使用STM32单片机控制。
- 2022-11-03 17:30:03下载
- 积分:1
-
Visual C#中的MDI编程
Visual C#中的MDI编程-Visual C# MDI programming
- 2022-07-20 07:14:20下载
- 积分:1
-
登录页
登录页
- 2022-03-25 20:45:41下载
- 积分:1
-
这是一个堆栈的程序
这是一个堆栈的程序-This is a stack of procedures
- 2022-05-15 20:28:36下载
- 积分:1
-
递归与分治算法的应用.零件切割问题
给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则...
递归与分治算法的应用.零件切割问题
给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致。问如何切割使得所使用的矩形板的高度h最小?
-recursive algorithm with the partition of the application. Parts mutilation given a width of the rectangular plate W, the height of rectangular plate unrestricted. Board is required from the respective cut out n height of the hi, wi width of the rectangular parts. Cutting parts to the rules of the height of the rectangular plate with a high degree of consistent direction. Asked how cutting makes use of the rectangular plate height h minimum?
- 2022-01-26 05:51:05下载
- 积分:1
-
在VC环境下开发的,目的是实现无限网络的功能,
在VC环境下开发的,目的是实现无限网络的功能,-Development in the VC environment in order to realize the limitless network functions,
- 2023-02-04 14:40:03下载
- 积分:1
-
matlab功能很强大,里面包含了很多程序,可以更好的理解和求解...
matlab功能很强大,里面包含了很多程序,可以更好的理解和求解-matlab function is very powerful, which contains a lot of procedures, you can better understand and solve the
- 2022-08-09 18:55:20下载
- 积分:1