-
connection/object pool. A program may require a IMAP connection po ol and LDAP c...
Many applications use connection/object pool. A program may require a IMAP connection pool and LDAP connection pool. One could easily implement a IMAP connection pool, then take the existing code and implement a LDAP connection pool. The program grows, and now there is a need for a pool of threads. So just take the IMAP connection pool and convert that to a pool of threads (Copy, paste, find, replace????). Need to make some changes to the pool implementation? Not a very easy task, since the code has been duplicated in many places. Re-inventing source code is not an intelligent approach in an object oriented environment which encourages re-usability. It seems to make more sense to implement a pool that can contain any arbitrary type rather than duplicating code. How does one do that? The answer is to use type parameterization, more commonly referred to as templates.-connection/object pool. A program may require a IMAP connection po ol and LDAP connection pool. One could easily im plemen
- 2023-05-15 08:25:03下载
- 积分:1
-
一个用VB编写的很有代表性的数据库搜索器(虽然界面不怎么样)...
一个用VB编写的很有代表性的数据库搜索器(虽然界面不怎么样)-a VB prepared by the very representative of the database search (though not impressive interface)
- 2022-02-26 20:18:39下载
- 积分:1
-
实现二分法求解方程。编写并使用以下函数:
double SolveRoot(double(*pf)(double x),double a,double b,...
实现二分法求解方程。编写并使用以下函数:
double SolveRoot(double(*pf)(double x),double a,double b,int n)
这里,pf指向一个函数f,f用来定义要求解的方程f(x)=0,a和b是未知解x的上下界(即a
- 2022-05-10 10:45:06下载
- 积分:1
-
内存池,如果需要减少长时间、不断开辟小内存的程序产生的内存碎片对程序运行效率的影响,可以使用该类库;...
内存池,如果需要减少长时间、不断开辟小内存的程序产生的内存碎片对程序运行效率的影响,可以使用该类库;-Memory pool, if the need to reduce the time, and constantly open up a small memory memory fragmentation procedures of the process the impact of operating efficiency, you can use the class library
- 2023-06-12 10:55:13下载
- 积分:1
-
orders for the system, information for the management of orders
该系统为订单系统,用于管理订单信息-orders for the system, information for the management of orders
- 2023-06-05 20:30:03下载
- 积分:1
-
数据结构学习中很重要的一章顺序栈,代码简单易懂
数据结构学习中很重要的一章顺序栈,代码简单易懂-Data structure to learn a very important chapter of the order of the stack, easy-to-read code
- 2022-04-20 14:03:53下载
- 积分:1
-
Dijkstra algorithm, has been established for finding the shortest path map is a...
dijkstra算法,用于寻找已建立图的最短路径,是非常有用的一个算法-Dijkstra algorithm, has been established for finding the shortest path map is a very useful algorithm
- 2023-02-06 10:15:04下载
- 积分:1
-
二叉树的实现,包括各种遍历
二叉树的实现,包括各种遍历-binary tree to achieve, including Traversal
- 2022-01-26 08:09:08下载
- 积分:1
-
轻量级数据库,动态DLL,不需要安装直接使用。
轻量级数据库,动态DLL,不需要安装直接使用。-small database, link DLL,and need not intall any program。
- 2022-07-15 07:22:54下载
- 积分:1
-
数据结构实验练习
数据结构实验练习--计时器,通过定义数组operand存放每个操作数,定义数组operate建立操作符集合,输入表达式得出结果。-Experimental data on the structure of practice- the timer, the array operand stored by defining the number of each operation, the definition of the array operate operator set up a collection, enter the expression results.
- 2023-01-10 14:50:03下载
- 积分:1