{logo}

November 2003
Volume 21 Number 11

FEATURES

Simplex Optimization

Larry Andrews
Larry examines the simplex algorithm and discovers it is an efficient technique for finding solutions to mathematical problems and improving program performance.

An Extensible C++ Framework for Stochastic Equations

Dave Burke
Stochastic differential equations include "noisy" dynamic effects and are commonly used in areas such as science, insurance, and market analysis.

Differential Equation Integrators

Catharine J. Roussel and Marc R. Roussel
Catharine and Marc present generic differential equation integrators that truly demonstrate C++'s benefits in numerical computing. In addition to solving differential equations, their techniques optimize mathematical computations.

Data-Structure-Independent Algorithms for Image Processing

Vitaly Ablavsky, Mark R. Stevens, and Joshua Pollak
Our authors use STL algorithms, the median-filtering algorithm, and sliding windows to solve advanced image-processing problems.

FOR_EACH and LOCK

Eric Niebler and Anson Tsao
Eric and Anson match the functionality and ease-of-use of C#'s lock and foreach with their C++ implementations of FOR_EACH and LOCK, then apply their approaches to both native C++ types and STL containers.

Strong Exception-Safe Storage

Anthony Williams
Anthony presents a double-buffer technique that avoids dynamic memory.

ELF: Exception Handling and Logging Framework

Sony Antony
Sony describes an easy-to-use technique for managing exception handling and logging in a C++ application.

COLUMNS

Positive Integration

Matthew Wilson
In the first installment of his new column, Matthew introduces recls, a platform-independent recursive search API implemented in C/C++ that integrates and interoperates with other languages.

The New C

Randy Meyers and Thomas Plum
Low-level I/O usually requires specialized embedded compilers, but Randy and Thomas present an intriguing alternativeÑwrite the program under MS-DOS and use the legacy Borland Turbo C compiler.

Conversations

Jim Hyslop and Herb Sutter
If pointers are used improperly, they can lead to memory leaks. This month, the Guru shows how to avoid pointer problems that lead to leaks.

DEPARTMENTS

Editor's Forum

New Products

Letters

C++ EXPERTS ON THE WEB

Sutter's Mill — Inline Redux

by Herb Sutter
When is inlining performed? And is it possible to write a function that is guaranteed to never be inlined? This month, Herb considers the many and varied opportunities for inlining, including many that are likely to surprise you.

Flexible C++ — Efficient Integer to String Conversions Part III

by Matthew Wilson
Matthew looks at more integer to string conversion options, including his candidate for the "optimum solution."