← Symantec C++ for the Macintosh The Basics 1993

Symantec C++ for the Macintosh The Basics 1993

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

Symantec C++for the Macintosh: The Basics

Symantec C++for the Macintosh: The Basics Enumerated Values .................................................................................. 183 Enumerated Variables ........................................... :.............................. 184 Enumerated Types ............................................................................... 185 "typedef" .............................................................................................. 185 Structures .................................................................................................. 186 Declaring a Structure ........................................................................... 187 Anonymous Structures ........................................................................ 188 Referencing Data Elements of Individual Structures ......................... 188 Padding ................................................................................................. 189 Creating an Array of Structures .......................................................... 189 Structures and Bit Fields ...................................................................... 191 Unions ....................................................................................................... 192 Operator Overloading ............................................................................... 193 Member Functions and Structures .......................................................... 194 Summary ................................................................................................... 197 Exercises ................................................................................................... 197 Chapter 9: Classes in C++ ••••••••••••••••••••••••••••••••••••• 199 Defining a Class ....................................................................................... 200 Classes and Structures ............................................................................. 201 Data Hiding .......................................................................................... 201 Objects .................................................................................................. 202 Member Functions ............................................................................... 202 Constructors ............................................................................................. 203 Destructors ............................................................................................... 204 Initializing Functions ............................................................................... 205 Accessor Methods .................................................................................... 206 Collaborators ............................................................................................ 208 Friends ....................................................................................................... 208 Friend Class .......................................................................................... 208 Friend Functions .................................................................................. 209 Data-Hiding Convention ..................................................................... 209 Summary ................................................................................................... 210 Exercises ................................................................................................... 210 xii

Reading notes: Table of contents page numbers and some characters are irregular due to extraction spacing

Languages
English