-
Introduction to C++ Programming and Graphics.
Introduction to C++ Programming and Graphics.
- 2022-01-26 18:19:55下载
- 积分:1
-
基数排序算法的实现
the implementation of radix sort algorithm
- 2022-12-12 10:45:03下载
- 积分:1
-
西部软件下载系统ASP版
资源描述西部软件下载系统ASP版,是经过改良的,队asp有所帮助,大家可以下下来学习一下。
- 2022-01-21 21:04:00下载
- 积分:1
-
err
能实现银行中存款取款的功能,-err
- 2022-04-29 13:13:20下载
- 积分: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
-
嵌入式WINCE滑块控件编程使用,用EVC开发实现
嵌入式WINCE滑块控件编程使用,用EVC开发实现-Embedded WINCE programming using slider controls, and realize EVC Development
- 2022-11-02 21:25:02下载
- 积分:1
-
personal curriculum design source. Including a hefty almanac, a UFO C game. Stud...
个人的课程设计源码.包括一个万年历,一个UFO的C游戏程序.还有学生管理系统..全是C的-personal curriculum design source. Including a hefty almanac, a UFO C game. Students in the management of the entire system .. C
- 2022-04-29 07:25:30下载
- 积分:1
-
一个PHP+MySQL的访问统计,需要GD库,界面非常漂亮,2.0版本已经可以 非常方便的选择语言版本,其中中文版由夜猫网(http://www.YeMao.n...
一个PHP+MySQL的访问统计,需要GD库,界面非常漂亮,2.0版本已经可以 非常方便的选择语言版本,其中中文版由夜猫网(http://www.YeMao.net)翻译, ,在修改版中增加了一些功能,包括显示总页面访问数、今日页面访问数、总 IP访问数、今日IP访问数、在线人数,增加了页面JS调用统计功能, 增加 了 Windows XP 的识别等等。-a PHP+ MySQL visit statistics, the need for the GD library, a very nice interface, version 2.0 can be very convenient choice language version, which the Chinese version by the Night Cat Network (http://www.YeMao.net) translation, and in the revised version by added some features, including show the total number of pages visited, pages visited today, the total number of IP, IP visited today, online and an increase in the pages JS call statistics capabilities, the Windows XP identification, and so on.
- 2022-02-21 07:58:20下载
- 积分:1
-
Qt下的Tcp传文件
通过Qt下的Tcp通信实现客户端和服务器端的文件以及视频的转发、 传输,代码比较简单 易懂 里边有注释
- 2023-03-04 15:50:04下载
- 积分:1
-
手机上的拳击游戏,完全可以和PC机上的拳击游戏相当
手机上的拳击游戏,完全可以和PC机上的拳击游戏相当-phone boxing game, it is entirely possible and PC games on the considerable boxing
- 2022-03-22 11:29:57下载
- 积分:1