www.gibmonks.com

Main Page

C++ Coding TOC 3

Section 5.7. break and continue Statements
Section 5.8. Logical Operators
Section 5.9. Confusing Equality (==) and Assignment (=) Operators
Section 5.10. Structured Programming Summary
Section 5.11. (Optional) Software Engineering Case Study: Identifying Objects' States and Activities in the ATM System
Section 5.12. Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Chapter 6. Functions and an Introduction to Recursion
Section 6.1. Introduction
Section 6.2. Program Components in C++
Section 6.3. Math Library Functions
Section 6.4. Function Definitions with Multiple Parameters
Section 6.5. Function Prototypes and Argument Coercion
Section 6.6. C++ Standard Library Header Files
Section 6.7. Case Study: Random Number Generation
Section 6.8. Case Study: Game of Chance and Introducing enum
Section 6.9. Storage Classes
Section 6.10. Scope Rules
Section 6.11. Function Call Stack and Activation Records
Section 6.12. Functions with Empty Parameter Lists
Section 6.13. Inline Functions
Section 6.14. References and Reference Parameters
Section 6.15. Default Arguments
Section 6.16. Unary Scope Resolution Operator
Section 6.17. Function Overloading
Section 6.18. Function Templates
Section 6.19. Recursion
Section 6.20. Example Using Recursion: Fibonacci Series
Section 6.21. Recursion vs. Iteration
Section 6.22. (Optional) Software Engineering Case Study: Identifying Class Operations in the ATM System
Section 6.23. Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Chapter 7. Arrays and Vectors
Section 7.1. Introduction
Section 7.2. Arrays
Section 7.3. Declaring Arrays
Section 7.4. Examples Using Arrays
Section 7.5. Passing Arrays to Functions
Section 7.6. Case Study: Class GradeBook Using an Array to Store Grades
Section 7.7. Searching Arrays with Linear Search
Section 7.8. Sorting Arrays with Insertion Sort
Section 7.9. Multidimensional Arrays
Section 7.10. Case Study: Class GradeBook Using a Two-Dimensional Array
Section 7.11. Introduction to C++ Standard Library Class Template vector
Section 7.12. (Optional) Software Engineering Case Study: Collaboration Among Objects in the ATM System
Section 7.13. Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Recursion Exercises
vector Exercises
Chapter 8. Pointers and Pointer-Based Strings
Section 8.1. Introduction
Section 8.2. Pointer Variable Declarations and Initialization
Section 8.3. Pointer Operators
Section 8.4. Passing Arguments to Functions by Reference with Pointers
Section 8.5. Using const with Pointers
Section 8.6. Selection Sort Using Pass-by-Reference
Section 8.7. sizeof Operators
Section 8.8. Pointer Expressions and Pointer Arithmetic
Section 8.9. Relationship Between Pointers and Arrays
Section 8.10. Arrays of Pointers
Section 8.11. Case Study: Card Shuffling and Dealing Simulation
Section 8.12. Function Pointers
Section 8.13. Introduction to Pointer-Based String Processing
Section 8.14. Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Special Section: Building Your Own Computer
More Pointer Exercises
String-Manipulation Exercises
Special Section: Advanced String-Manipulation Exercises
A Challenging String-Manipulation Project
Chapter 9. Classes: A Deeper Look, Part 1
Section 9.1. Introduction
Section 9.2. Time Class Case Study
Section 9.3. Class Scope and Accessing Class Members
Section 9.4. Separating Interface from Implementation
Section 9.5. Access Functions and Utility Functions
Section 9.6. Time Class Case Study: Constructors with Default Arguments
Section 9.7. Destructors
Section 9.8. When Constructors and Destructors Are Called
Section 9.9. Time Class Case Study: A Subtle TrapReturning a Reference to a private Data Member
Section 9.10. Default Memberwise Assignment
Section 9.11. Software Reusability
Section 9.12. (Optional) Software Engineering Case Study: Starting to Program the Classes of the ATM System
Section 9.13. Wrap-Up