Working with Classes and Interfaces in C++

Home - Sitemap - About » Computer Science - Industry Work - Publications
Computer Science
Research, Industry Work,
Programming
Community Service
Hillside Group, CHOOSE,
Stanford GSA
The Serious Side
Business School,
Learning Chinese
Humorous Takes
Switzerland, United States,
Software, Fun Photos
Travel Stories
Europe, United States, Asia
  
Living Places
Berlin (+ Gallery), Zürich
Boston, S.F. + Bay Area

Classes are fundamental to object-oriented design and programming in C++. In this article, we take a look at five fundamental patterns of designing and using classes. We use a story, the evolution of a seemingly simple class, to illustrate the Simple Class, Design by Primitives, Interface Class, Abstract Base Class, and Narrow Inheritance Interface patterns. This story and the ensuing discussion provide us with some insight on what makes up a pattern and a good description thereof.


Dirk Riehle. "Working with Classes and Interfaces in C++." C++ Report 12, 3 (March 2000). Page 14pp.

For the time being, a copy is available as a PDF file.

Copyright (©) 2007 Dirk Riehle. Some rights reserved. (Creative Commons License BY-NC-SA.) Original Web Location: http://www.riehle.org