February 1993
Volume 11 Number 2

ALGORITHMS

Date Conversions

By David Burki
Just a few functions are all you need to perform sensible date arithmetic.

Real-Number Approximation for Real Programmers

By Mark Gingrich
Use continued fractions to tailor fixed-print constants for special needs.

Sorting Networks

By Frederick Hegeman
If you only need to sort a small, fixed number of items respectively, a sorting network has several advantages.

FEATURES

An Efficient Method for Optimizing Binary Trees

By David W. Schwartz
Seems you can always improve how you handle binary trees — David Schwartz shows another useful technique.

A Library of Financial Functions

By William Smith
Here's a handy collection of the commonest financial formulas, packaged as a C function library.

Making C++ Safe for Threads

By Dave Plauger
Multithreaded systems are growing in importance along with C++; getting the two to play together takes a bit of work, however.

Image Processing, Part 9: Histogram-Based Image Segmentation

By Dwayne Phillips
Dr. Phillips shows you how to partition an image in this latest installment.

Pointer Power in C and C++, Part 1

By Christopher Skelly
If you still don't get pointers, try this well-crafted tutorial.

Solving Linear Equations Using C

By Matt Weisfeld
Linear programming looks almost simple in this enlightening tutorial.

COLUMNS

Standard C: Time Conversion Functions

P.J. Plauger

On the Networks: What Happened — Again?

Sydney S. Weinstein

Questions & Answers: Macros and Debugging

Ken Pugh

Code Capsules: A C++ Date Class, Part 1

Chuck Allison

BOOK REVIEW

C++ Components and Algorithms

Reviewed by Steve Halladay

DEPARTMENTS

Editor's Forum

New Products

We Have Mail