December 1995
Volume 13 Number 12

MEMORY MANAGEMENT

Smart Pointers for C++ Garbage Collection

By Gregory Colvin
Garbage Collection is a sometimes handy service, which C++ doesn't provide automatically. But, as is so often the case in C++, you can roll your own if you meet the language half way.

Reducing Allocation Overhead in 2-D Arrays

By Glen W. Deen
Simple solutions to small problems are too often overlooked. You can save storage overhead, for example, by compromising unneeded flexibility.

Doing "32-bit" DMA on a PC

By Gregor Owen
Managing memory on a PC is a hard topic to explain to experienced programmers. Worse, it's even harder to explain to a standard DMA channel on a PC.

FEATURES

Another Slap at Lowly goto

By Aaron Garth Enright and Linda M. Wilkens
We all know goto statements are unfashionable. Now we know that optimizers tend to disdain them as well.

An Iostream Class for the GPIB

By Bradford Taylor
C++ inserters and extractors are great notation for any conversation involving text streams — even when the listener is an oscilloscope.

BOOK REVIEWS

Efficient C/C++ Programming (Article unavailable in electronic form)

Reviewed by John Rodley

Uninterrupted Interrupts

Reviewed by Bob Swart

COLUMNS

Standard C/C++: The Standard Library Template

P. J. Plauger

The Learning C/C++urve: Completing the Foundation

Bobby Schmidt

Questions & Answers: Getting Rid of goto

Pete Becker

Stepping Up to C++: Understanding C++ Declarations

Dan Saks

New Releases: Whither CUG? Not Dead, but Transformed

Victor R. Volkman

DEPARTMENTS

Editor's Forum

New Products

We Have Mail