-
用stack做的迷宫程序, 请大家点评;望大家能用得上
用stack做的迷宫程序, 请大家点评;望大家能用得上-do with the Maze procedure, please Comments; We can look useful
- 2023-05-08 00:05:03下载
- 积分:1
-
教科书的例子,源码for the examples from Fintan culwin S Textbook是……
Textbook examples, source code for the examples from Fintan Culwin s textbook Java: an Object First Approach, which is also on this CD.
- 2023-07-27 10:10:03下载
- 积分:1
-
wince under 2D graphics rendering, the 4.2 system can be used to test
wince下2D图形的绘制,在4.2系统下测试能用-wince under 2D graphics rendering, the 4.2 system can be used to test
- 2022-05-28 02:50:47下载
- 积分:1
-
这是一篇博士论文,主要描述Web挖掘中涉及对一些经典问题的看法,是写得比较细的论文.
这是一篇博士论文,主要描述Web挖掘中涉及对一些经典问题的看法,是写得比较细的论文.-This is a doctoral thesis, the main description of Web mining involves a number of classic issues, is written in relatively thin paper.
- 2022-07-26 12:21:07下载
- 积分:1
-
RS232串口通讯工具源码,VC++程序,方便监控,自动化等行业的应用。...
RS232串口通讯工具源码,VC++程序,方便监控,自动化等行业的应用。-RS232 serial communication source, VC++ procedures for monitoring the application of automation and other industries.
- 2022-04-06 17:56:07下载
- 积分:1
-
本程序是华为面试试题.用C实现.本题对指针的要求较高,有比较好的参考价值...
本程序是华为面试试题.用C实现.本题对指针的要求较高,有比较好的参考价值-Huawei interview questions. C to achieve. This pair of indicators that the higher, and has a relatively good value
- 2022-03-02 22:28:41下载
- 积分:1
-
图形处理用一个简单的直线,圆,矩形等图形处理…
图形显示与处理
简单的对直线,圆,矩形进行平移,缩放,旋转,反转等变换-graphics processing with a simple pair of straight lines, circles, rectangles for translation, scaling, rotation, etc. transform inversion
- 2022-06-18 13:04:13下载
- 积分:1
-
黑色二级下拉菜单代码
二级下拉菜单 样式以及功能都在,可以实用在一般页面得导航,在此代码基础上做修改,方便简单。简单得html——css——JQUERY结合,初学者试用。。。。。。。。。。。。。。
- 2022-02-21 15:52:03下载
- 积分:1
-
windows的多线程编程(界面线程和辅助线程),mfc相关1
windows的多线程编程(界面线程和辅助线程),mfc相关1-windows of the multi-threaded programming (interface thread and support thread), mfc-related 1
- 2022-09-14 14:15: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