1994 20.10 1996

Vol.20 n°10 (#235) october 1995

(ddj_1995_10.jpg)

p.6 EDITORIAL

[author : Jonathan Erickson] #Edito

TABLE OF CONTENTS

FEATURES

p.18 AUTOMATING ASSOCIATION IMPLEMENTATION IN C++

[author : David M. Papurt]

David compares several unidirectional and bidirectional pointer-based methods for implementing one-to-one associations: a direct, handwritten implementation, a modular approach exploiting inheritance, and template-based implementations.

p.28 OBJECT-ORIENTED FACILITIES IN ADA

[author : David L. Moore]

With the adoption of the ISO/ANSI Ada 95 standard, Ada supports object-oriented programming features such as class-wide objects, private types and child packages, multiple inheritance, and more.

p.36 PARTIAL REVELATION AND MODULA-3

[author : Steve Freeman]

When compared to strongly typed languages, Modula-3 gives you greater flexibility in class reuse. Steve examines Modula-3's type system and describes how you can take advantage of its power.

p.44 OBJECT-ORIENTED PROGRAMMING IN S

[author : Richard Calaway]

S, a high-level, object-oriented language, was originally designed for data analysis and graphics. As Richard points out, however, the S language is useful for a wide range of applications.

p.52 COBOL '97: A STATUS REPORT

[author : Henry Saade and Ann Wallace]

The proposed Cobol '97 standard includes object-oriented features such as class definition, subclassing, data encapsulation, and polymorphism. Our authors focus on the object-oriented extensions to Cobol, and cover other proposed features.

p.58 FILE-STREAMING CLASSES IN C++

[author : Kirit Saelensminde]

Kirit implements a C++ file-streaming system that, unlike MFC or OWL, doesn't require a common superclass. This approach leads to less overhead and greater portability.

p.62 INSIDE MFC SERIALIZATION

[author : Jim Beveridge]

The Microsoft Foundation Class Library implements a typesafe serialization mechanism that is both fast and flexible. Jim takes an in-depth look at how this mechanism works — and examines how you can get the most out of it.

EMBEDDED SYSTEMS

p.68 INSIDE FLASH MEMORY

[author : Brian L. Dipert]

Direct-execute flash memory systems don't require the gigabyte hard disks and 64-Mbit DRAM arrays common in desktop systems.

NETWORKED SYSTEMS

p.84 ENVIRONMENT VARIABLES AND WINDOWS 3.1

[author : John (Fritz) Lowrey]

Nothing can give network administrators a headache like several hundred networked computers which need to run software that demands customized run-time environments. To make the job even more difficult, using a single environment space in the Windows system area for all programs is dangerous, not to mention that environment handling under Windows 3.1 is poorly documented.

EXAMINING ROOM

p.90 EXAMINING CA-VISUAL OBJECTS

[author : Rod da Silva]

CA-Visual Objects is an application-development environment that sports an incremental, native-code compiler, visual painters and editors, an advanced, active, repository-based storage system, and an object-oriented language that allows for optional strong typing and full object orientation.

PROGRAMMER'S WORKBENCH

p.103 POWERBUILDER NVOs

[author : Mark Robinson]

Quite possibly, Non-Visual User Objects (NVOs) are PowerBuilder's most useful tool for creating true object-oriented applications. Mark examines the effective use of NVOs and their role in application development.

COLUMNS

p.131 PROGRAMMING PARADIGMS

[author : Michael Swaine]

Michael takes a look at Sun's HotJava Web browser, as well as Java, the programming language it was written in.

p.137 C PROGRAMMING

[author : Al Stevens]

Al wraps up "MidiFitz," a Windows-based C++ program that uses MIDI to emulate a jazz piano player's rhythm section in real time. MidiFitz examines the notes being played, deduces a musical chord, and plays a bass line through the MIDI system.

p.145 ALGORITHM ALLEY

[author : Bruce Schneier]

This month, Louis Plebani examines search procedures that enable you to obtain the common fraction approximation of real numbers. In doing so, he focuses on number theories such as Farey Sequences.

p.149 PROGRAMMER'S BOOKSHELF

[author : Ray Valdés]

A good C++ book can be hard to find. Ray looks at some of the better ones.

FORUM

p.10 LETTERS

[author : you]

p.168 SWAINE'S FLAMES

[author : Michael Swaine]

PROGRAMMER'S SERVICES

p.164 OF INTEREST

[author : Monica E. Berg]