← Symantec C++ 1994

Symantec C++ 1994

From the originals

13 scans

Machine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.

These are transcribed pages from the documents, not the full publications. Open the original for the remaining pages.

PDF page 12

.. x Symantec C++ The Base Class 166 The Derived Class 167 Working with Derived Class Objects 169 Creating Derived Objects 170 Using Derived Objects 171 Derived Objects and Data Member Access 173 An Example Using Derived Objects 178 A Second Example Using Derived Objects 180 Overriding Member Functions 185 Why Override Member Functions~ 185 Overriding a Function 187 An Overriding Example 191 Chapter Summary 197 Chapter 7 Abstract Classes Why Abstract Classes? 199 Creating an Abstract Class 20 I The Abstract Class Data Members 20 I The Abstract Class Member Functions 202 Creating a Family of Classes 204 The Derived Classes 204 The Member Functions of the Derived Classes 206 An Abstract Example 209 The Class Hierarchy 216 Chapter Summary 219 Chapter 8 Dynamic Binding Returning Objects from Functions 222 A Shape as an Object 222 Returning an Object 227 Function Prototypes and Forward References 229 A Returned Object Example 230 Returned Objects and Derived Classes 233 Rectangles and Derived Classes 233 Dynamic Binding 239 A Dynamic Binding Example 243 The Rectangle Class-Still an Abstract Class~ 249 Passing Objects to Functions 249 A Rectangle Object as a Parameter 249 The PassedRectangle Example Program 254 Returned Objects and the Animal Class 257 Chapter Summary 263 Chapter 9 Objects and the User Using an Alert to Create a New Object 265 Alert Resources 267 Using the Alert to Select an Object Type 268 An Alert Example 269 199 221 265

Reading notes: Source is a table of contents fragment with no explicit product names, prices, or dates. Page numbers and some words are spaced irregularly, possibly from OCR.

Languages
English