-
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
pool
applications
program
上傳時間:
2013-12-25
上傳用戶:playboys0
-
Title: STL Tutorial and Reference Guide: C++ Programming with the Standard Template Library (2nd Edition)
Author: David R. Musser / Gillmer J. Derge / Atul Saini / Gilmer J. Derge
Publisher: Addison-Wesley
Page: 560
Edition: 2nd edition (March 27, 2001)
Format: PDF
Summary: The Standard Template Library was created as the first library of genetic algorithms and data structures, with four ideas in mind: generic programming, abstractness without loss of efficiency, the Von Neumann computation model, and value semantics. This guide provides a tutorial, a description of each element of the library, and sample applications. The expanded second edition includes new code examples and demonstrations of the use of STL in real-world C++ software development it reflects Changes made to STL for the final ANSI/ISO C++ language standard.
標簽:
Programming
Reference
Standard
Template
上傳時間:
2014-01-19
上傳用戶:netwolf
-
軟件工程方法Prefactoring
Prefactoring, in essence, is the art of applying the insights gleaned from previous experience (whether yours or someone else s) when developing software to new projects. Doing so will likely save you from making costly design Changes midstream--and maybe even save your job!
標簽:
Prefactoring
the
applying
insights
上傳時間:
2013-12-22
上傳用戶:wangchong
-
Following is a repost of the public domain make that I posted
to net.sources a couple of months ago. I have fixed a few bugs, and
added some more features, and the resulting Changes amounted to
about as much text as the whole program (hence the repost).一個編譯器C代碼,詳見REDME。
標簽:
Following
sources
domain
couple
上傳時間:
2015-09-01
上傳用戶:manlian
-
英文版,pdf格式。
詳細說明:
Title: STL Tutorial and Reference Guide: C++ Programming with the Standard Template Library (2nd Edition)
URL: http://www.amazon.com/exec/obidos/tg/detail/-/0201379236/
ISBN: 0201379236
Author: David R. Musser / Gillmer J. Derge / Atul Saini / Gilmer J. Derge
Publisher: Addison-Wesley
Page: 560
Edition: 2nd edition (March 27, 2001)
Catalog: C++
Format: PDF
Size: 3.8M
Supplier: December
Summary: The Standard Template Library was created as the first library of genetic algorithms and data structures, with four ideas in mind: generic programming, abstractness without loss of efficiency, the Von Neumann computation model, and value semantics. This guide provides a tutorial, a description of each element of the library, and sample applications. The expanded second edition includes new code examples and demonstrations of the use of STL in real-world C++ software development it reflects Changes made to STL for the final ANSI/ISO C++ language standard.
標簽:
Programming
Reference
Standard
Tutorial
上傳時間:
2015-09-02
上傳用戶:Breathe0125
-
NXP示例編碼集,Software that is described herein is for illustrative purposes only which
provides customers with programming information regarding the products.
This software is supplied "AS IS" without any warranties. NXP Semiconductors
assumes no responsibility or liability for the use of the software, conveys no
license or title under any patent, copyright, or mask work right to the
product. NXP Semiconductors reserves the right to make Changes in the
software without notification. NXP Semiconductors also make no representation
or warranty that such application will be suitable for the specified use without
further testing or modification.
標簽:
illustrative
described
Software
purposes
上傳時間:
2014-01-23
上傳用戶:stampede
-
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications,
enhancements, improvements, and other Changes to its products and services at any time and to discontinue
any product or service without notice. Customers should obtain the latest relevant information before placing
orders and should verify that such information is current and complete. All products are sold subject to TI’s terms
and conditions of sale supplied at the time of order acknowledgment.
標簽:
Incorporated
subsidiaries
Instruments
corrections
上傳時間:
2013-12-24
上傳用戶:haohaoxuexi
-
Over the years, this bestselling guide has helped countless programmers learn how to support computer peripherals under the Linux operating system, and how to develop new hardware under Linux. Now, with this third edition, it s even more helpful, covering all the significant Changes to Version 2.6 of the Linux kernel. Includes full-featured examples that programmers can compile and run without special hardware.
標簽:
bestselling
programmers
countless
compute
上傳時間:
2014-01-13
上傳用戶:小草123
-
This application uses OleDb as a backhand communicator with the file to allow the user to : select, delete, insert and modify the database and then save all the Changes to the original file.
標簽:
communicator
application
the
backhand
上傳時間:
2014-01-21
上傳用戶:671145514
-
The goal of this library is to make ODBC recordsets look just like an STL container. As a user, you can move through our containers using standard STL iterators and if you insert(), erase() or replace() records in our containers Changes can be automatically committed to the database for you. The library s compliance with the STL iterator and container standards means you can plug our abstractions into a wide variety of STL algorithms for data storage, searching and manipulation. In addition, the C++ reflection mechanism used by our library to bind to database tables allows us to add generic indexing and lookup properties to our containers with no special code required from the end-user. Because our code takes full advantage of the template mechanism, it adds minimal overhead compared with using raw ODBC calls to access a database.
標簽:
recordsets
container
library
ODBC
上傳時間:
2015-10-11
上傳用戶:xlcky