CUJ Logo

March 1997
Volume 15 No. 3

UNIX

Portable Signal Handling Under UNIX

Martin Remy
UNIX-style signals are hardly an object-oriented concept, but that doesn't prevent you from imposing a class discipline on how they're used.

Using Templates Across UNIX Platforms

Hong Xiao
Sure, templates are powerful, but that power is still subject to fluctuations across different implementations.

FEATURES

Interrupt Thunking

David G. Taylor
A hardware interrupt strongly resembles a function call in C or C++. A small chunk of magic code is all that's needed to make the resemblance exact.

Sharing Variables Between Win32 Executables

Gregory Brill
Global variables are properly denigrated as being unstructured, but that can be a virtue when structure interfaces with communication.

The Problem with const Data Members

Jack Hawes
Adding const qualifiers to objects that should not be modified is almost always a good idea. Almost.

How to Leak Memory in C++

Rodney B. Doe, P.E.
Warning: These are untrained professionals at work here. Do not try this at home.

SHORT SEGMENTS

Easy Printing Under Windows No Graphics Allowed (Article unavailable in electronic form)

Adi Degani

COLUMNS

Standard C/C++: The Header <deque>

P. J. Plauger
If you need to deal off both the top and the bottom, you can't beat a deque.

C++ Theory and Practice: Class-Specific new and delete

Dan Saks
If an object can construct and destroy itself, why not have it buy and sell its own storage? Well it can, as Dan shows, but you have to be careful.

The Learning C/C++urve: And Now For a Word From Our Sponsors

Bobby Schmidt
Wherein the readers rise up, though hardly as one, and smite the messenger severely about the head and shoulders.

C/C++ Sources: UNIXand Database Resources on the Internet

Victor R. Volkman
Want hands-on experience with such heavy-duty items as operating systems and database managers? The Internet supplies all the source code you could wish for.

Questions & Answers: Wrapping the Prickly Pragma

Pete Becker
Pete answers questions on subtle issues from pragmas to sharing inline functions to the one definition rule in C++.

DEPARTMENTS

Editor's Forum

New Products

We Have Mail