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 Visual C++ 2008 How to Program, 2/e as part of the course VC++101—Introduction to Visual C++ 2008 for Non-Programmers: Part 1.
- Chapter 2—Dive Into® Visual C++® 2008 Express
- Chapter 3—Introduction to Visual C++ Programming
- Chapter 4—Introduction to Classes and Objects
- Chapter 5—Control Statements: Part 1
- Chapter 6—Control Statements: Part 2
- Chapter 7—Functions and an Introduction to Recursion
- Chapter 8—Arrays and Vectors
Functions
- Inline Functions
- References and Reference Parameters
- Default Arguments
- Unary Scope Resolution Operator
- Function Overloading
- Function Templates
- Enumerations in C++/CLI
Arrays and Vectors
- Multidimensional Arrays
- Case Study: Class GradeBook Using a Two-Dimensional Array
- Introduction to C++ Standard Library Class Template vector
- Introduction to Managed Arrays with C++/CLI
- for each Statement
- Multidimensional Arrays in C++/CLI
Pointers and Pointer-Based Strings
- Pointer Variable Declarations and Initialization
- Pointer Operators
- Passing Arguments to Functions by Reference with Pointers
- Using const with Pointers
- 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
- Introduction to C++/CLI Handles
- Passing Arguments to Functions by Reference with Handles
- Tracking References and References to Handles
- Interior Pointers
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
- Class View and Object Browser
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
- Container Classes and Iterators
- Proxy Classes
- const and friend in C++/CLI
- Dynamic Memory Management in C++/CLI
- Stack Semantics in C++/CLI
- Finalizers
- Value Types vs. Reference Types in C++/CLI
- Boxing and Unboxing in C++/CLI
- Indexers
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
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 Visual C++ 2008 Curriculum
