-
常见问题,新手在C
FAQs for alls newbie in c-FAQs for alls newbie in c++
- 2022-01-27 10:48:02下载
- 积分:1
-
最基本的小应用程序:任意选用一个字母,并用该字母拼出您自己的姓名...
最基本的小应用程序:任意选用一个字母,并用该字母拼出您自己的姓名-small basic applications : an arbitrary selection letters, and use the letters spelled your own name
- 2022-02-01 05:41:20下载
- 积分:1
-
图书馆管理系统
图书馆管理系统,java源码,应用技术,java,JavaScript,ajax,json,基本是java基础知识,
- 2023-02-13 11:35: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
-
使用c语言写的时钟小程序,可以显示年月日
供初学者学习c语言及windows编程使用...
使用c语言写的时钟小程序,可以显示年月日
供初学者学习c语言及windows编程使用-C language using the clock applet to show the date for beginners to learn c programming language and the use of windows
- 2022-07-26 20:31:28下载
- 积分:1
-
线程代码模板pthread of leon3
线程代码模板pthread of leon3 -Thread code templates pthread of leon3
- 2022-09-19 14:00:02下载
- 积分:1
-
取得物理网卡的MAC地址,可以排除虚拟网卡。
取得物理网卡的MAC地址,可以排除虚拟网卡。
- 2022-05-19 18:15:00下载
- 积分:1
-
delphi版的串口调试工具
资源描述delphi版的串口调试工具,本来是c++写的,我改成了Delphi版,需要的拿走,非常有用,相信很多人都在寻找这个东西。
- 2023-03-29 20:05:03下载
- 积分:1
-
第1题_向量链表功能应用.txt 第2题_双向链表功能应用.TXT 第3题_扩充双向链表的功能.TXT 第4题_二叉树功能应用.TXT 第5题_利用二叉树功能解...
第1题_向量链表功能应用.txt 第2题_双向链表功能应用.TXT 第3题_扩充双向链表的功能.TXT 第4题_二叉树功能应用.TXT 第5题_利用二叉树功能解决实际问题.TXT 第6题_利用二叉树进行四则运算.txt-an article that _ Vector Chain function application. Txt No. 2 _ and that two-way linked list functional applications. TXT No. 3 _ and that the expansion of two-way Chain function. TXT 4 _ that function application binary tree. TXT No. 5 _ and that the use of binary tree functions to solve practical problems. TXT 6 that _ use binary tree for four computing. txt
- 2023-03-17 10:00:04下载
- 积分:1
-
Presentation about Data Mining I mad for my SQL course at college.
Written in...
Presentation about Data Mining I mad for my SQL course at college.
Written in hebrew.
- 2022-02-14 18:32:07下载
- 积分:1