Overview
This 5-day, lecture-and-lab course covers in-line functions, overloaded functions, function templates, default arguments, references, const qualifier, arrays, multiple-subscripted arrays, pointers, pointer arithmetic, function pointers, strings, optimizing memory use and improving execution performance.
Prerequisites
Introduction
Review of C++ syntax and concepts presented in the following chapters of C++ How to Program, 7/e as part of the course C++101—Introduction to C++ for Non-Programmers: Part 1.
- Chapter 2—Introduction to C++ Programming
- Chapter 3—Introduction to Classes and Objects
- Chapter 4—Control Statements: Part 1
- Chapter 5—Control Statements: Part 2
- Chapter 6—Functions
- Chapter 7—Arrays
Functions
- C++ as a better C
- Functions with Empty Parameter Lists
- Inline Functions
- References and Reference Parameters
- Default Arguments
- Unary Scope Resolution Operator
- Function Overloading
- Function Templates
Arrays and Vectors
- Static Local Arrays and Automatic Local Arrays
- Passing Arrays to Functions
- Case Study: Class GradeBook Using an Array to Store Grades
- Searching Arrays with Linear Search
- Sorting Arrays with Insertion Sort
- Multidimensional Arrays
- Case Study: Class GradeBook Using a Two-Dimensional Array
- Introduction to C++ Standard Library Class Template vector
Pointers and Pointer-Based Strings
- Pointer Variable Declarations and Initialization
- Pointer Operators
- Passing Arguments to Functions by Reference with Pointers
- Using const with Pointers
- Selection Sort Using Pass-by-Reference
- sizeof Operator
- Pointer Expressions and Pointer Arithmetic
- Relationship Between Pointers and Arrays
- Arrays of Pointers
- Case Study: Card Shuffling and Dealing Simulation
- Function Pointers
- Introduction to Pointer-Based String Processing
- Fundamentals of Characters and Pointer-Based Strings
- String-Manipulation Functions of the String-Handling Library
Classes: A Deeper Look, Part 1
- Time Class Case Study
- Class Scope and Accessing Class Members
- Separating Interface from Implementation
- Access Functions and Utility Functions
- Time Class Case Study: Constructors with Default Arguments
- Destructors
- When Constructors and Destructors Are Called
- Time Class Case Study: A Subtle Trap—Returning a Reference to a private Data Member
- Default Memberwise Assignment
Classes: A Deeper Look, Part 2
- const (Constant) Objects and const Member Functions
- Composition: Objects as Members of Classes
- friend Functions and friend Classes
- Using the this Pointer
- Dynamic Memory Management with Operators new and delete
- static Class Members
- Data Abstraction and Information Hiding
- Proxy Classes
Operator Overloading; String and Array Objects
- Fundamentals of Operator Overloading
- Restrictions on Operator Overloading
- Operator Functions as Class Members vs. Global Functions
- Overloading Stream Insertion and Stream Extraction Operators
- Overloading Unary Operators
- Overloading Binary Operators
- Case Study: Array Class
- Converting between Types
- Case Study: String Class
- Overloading ++ and --
- Case Study: A Date Class
- Standard Library Class string
- explicit Constructors
Price
- $12,995 lecture fee for up to 20 students maximum. Add $1,000 for international or custom classes.
- Client purchases the books, at its own expense, directly from Pearson (the publisher) at the discounted Deitel rate.
- Instructor Travel Reimbursement (if travel is required).
Courses in the C++ Programming Curriculum
