www.gibmonks.com

Main Page

C++ Coding TOC 4

Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Chapter 10. Classes: A Deeper Look, Part 2
Section 10.1. Introduction
Section 10.2. const (Constant) Objects and const Member Functions
Section 10.3. Composition: Objects as Members of Classes
Section 10.4. friend Functions and friend Classes
Section 10.5. Using the this Pointer
Section 10.6. Dynamic Memory Management with Operators new and delete
Section 10.7. static Class Members
Section 10.8. Data Abstraction and Information Hiding
Section 10.9. Container Classes and Iterators
Section 10.10. Proxy Classes
Section 10.11. Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Chapter 11. Operator Overloading; String and Array Objects
Section 11.1. Introduction
Section 11.2. Fundamentals of Operator Overloading
Section 11.3. Restrictions on Operator Overloading
Section 11.4. Operator Functions as Class Members vs. Global Functions
Section 11.5. Overloading Stream Insertion and Stream Extraction Operators
Section 11.6. Overloading Unary Operators
Section 11.7. Overloading Binary Operators
Section 11.8. Case Study: Array Class
Section 11.9. Converting between Types
Section 11.10. Case Study: String Class
Section 11.11. Overloading ++ and --
Section 11.12. Case Study: A Date Class
Section 11.13. Standard Library Class string
Section 11.14. explicit Constructors
Section 11.15. Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Chapter 12. Object-Oriented Programming: Inheritance
Section 12.1. Introduction
Section 12.2. Base Classes and Derived Classes
Section 12.3. protected Members
Section 12.4. Relationship between Base Classes and Derived Classes
Section 12.5. Constructors and Destructors in Derived Classes
Section 12.6. public, protected and private Inheritance
Section 12.7. Software Engineering with Inheritance
Section 12.8. Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Chapter 13. Object-Oriented Programming: Polymorphism
Section 13.1. Introduction
Section 13.2. Polymorphism Examples
Section 13.3. Relationships Among Objects in an Inheritance Hierarchy
Section 13.4. Type Fields and switch Statements
Section 13.5. Abstract Classes and Pure virtual Functions
Section 13.6. Case Study: Payroll System Using Polymorphism
Section 13.7. (Optional) Polymorphism, Virtual Functions and Dynamic Binding "Under the Hood"
Section 13.8. Case Study: Payroll System Using Polymorphism and Run-Time Type Information with Downcasting, dynamic_cast, typeid and type_info
Section 13.9. Virtual Destructors
Section 13.10. (Optional) Software Engineering Case Study: Incorporating Inheritance into the ATM System
Section 13.11. Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Chapter 14. Templates
Section 14.1. Introduction
Section 14.2. Function Templates
Section 14.3. Overloading Function Templates
Section 14.4. Class Templates
Section 14.5. Nontype Parameters and Default Types for Class Templates
Section 14.6. Notes on Templates and Inheritance
Section 14.7. Notes on Templates and Friends
Section 14.8. Notes on Templates and static Members
Section 14.9. Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Chapter 15. Stream Input/Output
Section 15.1. Introduction
Section 15.2. Streams
Section 15.3. Stream Output
Section 15.4. Stream Input
Section 15.5. Unformatted I/O using read, write and gcount