-
c编译器源码
c编译器源码-c compiler source Contents Paragraphs Page
- 2022-04-01 07:44:46下载
- 积分:1
-
鼠标点击确定位置的文本编辑器
基本文本编辑器,底层api,实现鼠标点击确定输入位置,有bug,中文输入一半的文字会被覆盖掉
- 2022-04-25 01:23:49下载
- 积分:1
-
OMP平台下Siliconlabs的FM驱动
OMP平台下Siliconlabs的FM驱动-Siliconlabs FM driver at omp platform wince 6.0.
- 2022-02-20 09:31:34下载
- 积分:1
-
A student grade management system developed by Office Excel VBA Version2007
Excel VBA开发的成绩规范化管理系统-A student grade management system developed by Office Excel VBA Version2007
- 2023-06-19 18:10:03下载
- 积分:1
-
Excel的全部操作,vs2005开发文档(excel,word)的生成,文档汇总,报表汇总输出等...
Excel的全部操作,vs2005开发文档(excel,word)的生成,文档汇总,报表汇总输出等-Excel, all the operations
- 2023-01-12 12:20:04下载
- 积分:1
-
在一个班,C++使用三关键词设置访问界限:公共、私人…
在一个类中,C++用三个关键词设置访问界限:public, private和protected。它们决定了跟在他们后面的标识符的被使用情况:public意味着其后的标识符可以被用户定义的其实例引用 而private则说明其后的标识符除了类的成员函数之外,用户定义的其实例不能引用 protected为类的继承提供了接口,同时保护其不被外界访问。-In a class, C++ using the three keywords set to visit boundaries: public, private and protected. They decided to follow behind in their use of the identifier: public means the following can be user-defined identifier of the examples cited and private identifier is illustrated in the following categories of members in addition to function, the user the definition of its instances can not be invoked protected to provide the type of interface inheritance, at the same time not to be outside the protection of their visit.
- 2023-08-14 12:10:03下载
- 积分:1
-
一个USB驱动代码,实现了USB枚举,组包发包等操作
一个USB驱动代码,实现了USB枚举,组包发包等操作-A USB driver code, and realized the USB enumeration, group packages contracting and other operations
- 2022-04-12 05:09:11下载
- 积分:1
-
电子病历
电子病历
- 2022-03-12 05:54:30下载
- 积分:1
-
一套完整的飞机大战代码!Java开发
模仿微信游戏飞机大战,原汁原味还原该游戏程序。本包是一整套游戏代码,包括设计的图片,直接使用eclipse将该项目导入即可试玩。如果想深入学习打开Java文件即可看源码!内有备注,看到哪学到哪!
- 2022-03-05 07:50:10下载
- 积分: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