-
一个简单的计算器,可以进行加法和减法运算,并可以进行运算…
简单计算器,它可以进行加减乘除运算和正弦,余弦,正切,和log10的运算-A simple calculator, which can be addition and subtraction multiplication and division operations and sine, cosine, tangent, and the log10 computing
- 2022-02-12 05:27:44下载
- 积分:1
-
cell phone version of Java series. Gameplay is very good, not bad because it by...
手机上面的版本,JAVA编的。游戏性很不错,也不会因为这按坏键盘-cell phone version of Java series. Gameplay is very good, not bad because it by keyboard
- 2022-05-30 17:37:55下载
- 积分: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
-
蒙泰罗达尼洛 · 德索萨 ·
dscdssvdf dadsadas asdsad sadgr e wfw fs asdasd wdqwdASDASDA FFASSD ddcdsf afsdf s dsaf e e f d sfdfsdf asddasf ewf zccdsfwvwcscdv
- 2022-01-22 01:21:10下载
- 积分:1
-
用FROTPAGE编写的BT文件源码,实现了点到点BT下载功能,希望对大家有所帮助...
用FROTPAGE编写的BT文件源码,实现了点到点BT下载功能,希望对大家有所帮助-The source code of BT file which is written by FROTPAGE realizes the point to point BT donwload.
I hope the source code is helpful for everybody.
- 2022-05-12 10:50:07下载
- 积分:1
-
齐博分类信息V2.5多城市商业版
齐博分类信息V2.5多城市商业版齐博分类信息V2.5多城市商业版
- 2022-03-07 18:25:27下载
- 积分:1
-
迷宫问题程序设计
迷宫问题程序设计-Maze Design
- 2022-02-09 19:44:55下载
- 积分:1
-
利用80C51单片机串口进行通信,程序很简单.
利用80C51单片机串口进行通信,程序很简单.-use 80C51 microcontroller serial communication, a very simple procedure.
- 2022-03-17 17:26:26下载
- 积分:1
-
用EVC4.0写的mp3播放器,SDK可以根据自己的需要选择,希望对大家有帮助...
用EVC4.0写的mp3播放器,SDK可以根据自己的需要选择,希望对大家有帮助-EVC4.0 written with mp3 player, SDK can choose according to their own needs, and they hope to have everyone help
- 2023-07-06 02:35:03下载
- 积分:1
-
在自动点击链接源
source for click in links automaticly
- 2023-02-03 18:55:03下载
- 积分:1