← Symantec C++ Programming For The Macintosh 1993

Symantec C++ Programming For The Macintosh 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

Const Variables ............................................... 143 Inline Functions .............................................. 145 Small Functions and Inlining ..................... 151 Functions That Cannot Be Inlined ............. 152 Inlining Avoids #define Problems .................. 153 Precedence Problems .................................. 155 Conclusions about Const Variables and Inline Functions ..................................... 156 References ........................................................... 156 How References Work ..................................... 158 References and the Const Keyword ................ 159 Some Rules of Thumb for Reference Use ........ 159 Other Uses of References ............................ 162 Summary ............................................................. 164 Exercises .............................................................. 166 9 An Introduction to Object-Oriented Design ........... 171 Object-Oriented Programming ........................... 172 Benefits of Object-Oriented Programming ..... 172 The Genesis of Object-Oriented Programming .......................................... 173 Modular Programming ............................... 174 Data Types .................................................. 175 Data Types .................................................. 177 Objects ........................................................ 179 Object-Oriented Design ...................................... 185 Basic Rules of Object-Oriented Programming .................................................. 185 The Object-Oriented Design Process .............. 189 Summary ............................................................. 190 10 Getting Started with Objects ................................... 191 Overview ............................................................. 192 A Procedural Program ......................................... 193 An Object-Oriented Program .............................. 194 Comparing Procedural with Object-Oriented Programs ..................................................... 196 The Descendant of Structs: The C++ Class ..... 196 Member Functions and Data Members .......... 197 The this Keyword ............................................ 200 C++ Naming Conventions .............................. 201 Adding Caching .................................................. 203 Caching in a Procedural Program ................... 203 .. Xll SJmantu C++ Programming lor the Mnlntosb

Reading notes: Source is a table of contents with page numbers and chapter headings; no advertised products, prices, or dates are present. Running header line at the end is partially garbled ('SJmantu C++ Programming lor the Mnlntosb').

Languages
English