-
VC++2005 prepared to receive joystick, pedal input
VC++2005编写,接收游戏杆、脚蹬输入-VC++2005 prepared to receive joystick, pedal input
- 2022-02-02 19:10:27下载
- 积分:1
-
通过自写代码实现消息提示功能,提示内容和提示方式自己控制,非windows自带...
通过自写代码实现消息提示功能,提示内容和提示方式自己控制,非windows自带-passed since the implementation of the code written reminder feature news, suggesting that content and suggest ways to control their non-windows onboard
- 2022-02-06 01:02:13下载
- 积分:1
-
Wave声音波形的绘制和播放,有频谱分析,
Wave声音波形的绘制和播放,有频谱分析,-Wave audio waveform drawing and play, there are spectrum analysis,
- 2023-03-05 16:15:03下载
- 积分:1
-
FAT12,FAT16,FAT32 file system with ATA
与ata结合的fat12 fat16 fat32的文件系统实现,代码完整!-FAT12,FAT16,FAT32 file system with ATA
- 2022-02-16 07:21:22下载
- 积分:1
-
C语言生成的代码在执行效率上比其它高级语言都高.现在让我们来看看C语言生成的代码具体是什么样子的.当你看完本文对于C语言的了解一定会更深一步了....
C语言生成的代码在执行效率上比其它高级语言都高.现在让我们来看看C语言生成的代码具体是什么样子的.当你看完本文对于C语言的了解一定会更深一步了.-the runtime efficiency of c codes are higher than any other high level languages. Now let s see how the codes produced by c language are like. After finishing reading this article your understanding of c language will be deeper
- 2022-03-20 22:52:55下载
- 积分:1
-
一个源码例子 用于在命令行中创建任意文件的快捷方式shortcuts...
一个源码例子 用于在命令行中创建任意文件的快捷方式shortcuts-example of a source for the command line to create arbitrary files quick shortcuts
- 2022-07-09 11:56:02下载
- 积分:1
-
Through breadth
通过广度优先算法,不断加入一结点或边,得到指定结点或边数的网络-Through breadth-first algorithm, and continuously adding a node or edge, has been designated node or edge of the network
- 2022-02-12 21:23:24下载
- 积分:1
-
VC++银行家算法
VC++银行家算法
VC++银行家算法
VC++银行家算法-VC bankers algorithm VC bankers algorithm
- 2023-04-12 19:05: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
-
iphone DEMO的演示程序,
iphone DEMO的演示程序, -iphone DEMO demonstration program
- 2023-03-31 14:45:04下载
- 积分:1