-
选择
select-option-disabled-emulation.js解决IE6 Select 中 option 的disabled属性无效的办法~~~在页面加载时架子该js,呵呵有点问题:onchange 时间冲突 自己-select-option-disabled-emulation.js
- 2022-05-20 04:20:48下载
- 积分: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系统的三角形法计算器,利用三角函数和给定的角度或者弧度进行运算-a windows-based system triangle method calculators, and the use of trigonometric functions to the radian angle or for Operational
- 2022-03-10 08:10:08下载
- 积分:1
-
C++经典算法,让你能更好的理解算法,以及编程的魅力。
C++经典算法,让你能更好的理解算法,以及编程的魅力。-C++ Classic algorithms, so you can better understand the algorithm, as well as the charm of programming.
- 2022-11-16 03:10:03下载
- 积分:1
-
专门编写PLUGIN的控件
专门编写PLUGIN的控件-specialized preparation of Control PLUGIN
- 2023-04-22 21:15:02下载
- 积分:1
-
这是一个VB做的小程序,可以用各种语言写的计算器程序来对比其效率。...
这是一个VB做的小程序,可以用各种语言写的计算器程序来对比其效率。-This is a VB to do a small program can be written in various languages calculator program to compare its efficiency.
- 2022-04-14 16:12:33下载
- 积分:1
-
一个可以实用的聊天程序,在vc下开发的,这是服务器,客户端详见下一个。...
一个可以实用的聊天程序,在vc下开发的,这是服务器,客户端详见下一个。-a practical chat program, vc under development, which is server, a client and down below.
- 2023-06-29 20:15:03下载
- 积分:1
-
用vc6.0写的win32控制台控件程序
用vc6.0写的win32控制台控件程序-Writing using the win32 console vc6.0 control procedures
- 2022-01-24 15:28:09下载
- 积分:1
-
基于MFC的JPEG图象读取程序,已实现彩色图象到灰白图象的相互转化,用户可在此平台基础上完成自己的算法需要...
基于MFC的JPEG图象读取程序,已实现彩色图象到灰白图象的相互转化,用户可在此平台基础上完成自己的算法需要-MFC-based program to read the JPEG image has been color images to realize the mutual transformation of gray images, the user can on this platform based on the completion of their algorithm needs
- 2022-08-12 00:02:36下载
- 积分:1
-
创建单实例的应用程序
创建单实例的应用程序-create single-instance applications
- 2022-03-21 14:10:24下载
- 积分:1