{logo}

July 2000
Volume 18 Number 7

SOFTWARE TOOLS

Simple Unit Tests in C++

Marc Briand
Unit testing is a tedious, but often necessary, adjunct to writing code. A few template classes can eliminate much of the tedium and improve encapsulation in the bargain.

Data-Based Axis Determination

Michael Bramley
Labeling the axes of a graph is not as easy as you might think.

Copying Files from the Clipboard to a Command Prompt

Joey Rogers
You can make DOS more of a first-class Windows citizen with this handy little clipboard utility.

FEATURES

Browser-Based Directory Access through LDAP and COM

Marco Morana
You can do a lot with LDAP — once you get all the glue right.

Implementation of Observer Pattern

Paul Barnes
Many applications involve observers waiting for notification. Getting the logic right for both publishers and subscribers is something you don't want to have to do repeatedly.

Tree Traversal in C without Recursion

Valery Creux
If you can spare one bit of storage in each node, you can traverse a tree without recursive function calls.

C/C++ Contributing Editors

import java.*: Formatted Text and Locales

Chuck Allison
Java offers more formatting power than C, but not necessarily in a more convenient package.

The Journeyman's Shop: Error in Floating-Point Calculations

Pete Becker
And you thought error, accuracy, precision, and significance were pretty synonymous.

Uncaught Exceptions: Adventures of Aquaman

Bobby Schmidt
Bobby shows how to outsmart the compiler several different ways, even if he can't outsmart the stock market.

DEPARTMENTS

Editor's Forum

New Products

We Have Mail