-
《游戏之旅
《游戏之旅-我的编程感悟》pdf格式,网易技术研发经理云风学习编程的经历及对编程的一些心得见解,云风自幼编程,二十几岁已有十几年的编程经验,主持开发了多款网游。-err
- 2022-04-29 18:02:28下载
- 积分:1
-
该软件为专用软件,主要用于数据库文件的自动验证及数据的合并等操作....
该软件为专用软件,主要用于数据库文件的自动验证及数据的合并等操作.-the software dedicated software, database files for the automatic verification of the data and merging operations.
- 2022-10-13 22:20:03下载
- 积分:1
-
这是一个具有基本功能的计算器,具有加减乘除,以及三角函数等功能...
这是一个具有基本功能的计算器,具有加减乘除,以及三角函数等功能-This is a calculator
- 2022-01-27 18:57:10下载
- 积分:1
-
javaWeb项目使用springboot集成redis
javaWeb项目使用springboot集成redis
- 2022-02-28 12:00:50下载
- 积分:1
-
多线程编程使用方法
多线程编程使用方法- Multi-thread programming application method
- 2023-06-21 15:00:04下载
- 积分: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
-
运筹学的程序
本程序实现运筹学--非线形规划中的单纯形法,求fmin(X)=4*(X1-5)*(X1-5)+(X2-6)(X2-6)的具有最小值时的最优解,如需改变所求函数,在子函数f中修改即可-the program tacticians-- non-linear planning for the simplex method, seeking fmin (X) = 4* (X1- 5)* (X1- 5) (X2-6) (X2-6) with the minimum of the optimal solution, and if necessary change change the demand function, f Functions can be modified
- 2022-02-09 17:36:21下载
- 积分:1
-
与数论有关的 求质数 分解因数 millerrabin
与数论有关的 求质数 分解因数 millerrabin -On the demand with a number of prime number decomposition factor millerrabin
- 2022-05-13 04:50:36下载
- 积分:1
-
鼠标的控制和优化的几个很好的小程序的源代码,对鼠标好些功能都作了设计。...
鼠标的控制和优化的几个很好的小程序的源代码,对鼠标好些功能都作了设计。-these are good source codes of several small program which is designed for some functions of mouse.
- 2022-03-18 07:00:34下载
- 积分:1
-
windows ce source code for the next game, worthy of study and research, essentia...
windows ce 下的游戏源代码,值得学习研究,初学必备-windows ce source code for the next game, worthy of study and research, essential beginners
- 2022-11-10 08:10:03下载
- 积分:1