ABSTRACT

In Chapter 17, we covered Class Wizard’s various input dialogs along with their general operation. In this chapter, we demonstrate the complete Class Wizard process of developing a collection of classes. To do this, we will recreate our now familiar collection of classes that includes cLineStyle

,

cShape

, cStar

, and

cDiamond

. Creating a collection of familiar classes is important because it allows us to spot logical errors. It also allows us to compare automatically generated files with the handcrafted versions. The collection also includes a rich hierarchy with both parent-child inheritance and composition. This is important because the hierarchy exercises most of the available options.