C++ Fundamentals I and II (Video Training)

Video description

C++ Fundamentals I and IIis for professional software developers who are not familiar with C++ and object-oriented programming. In this two-part video LiveLesson, distinguished programming languages author and professional teacher Paul Deitel uses the Deitel’s signature live-code approach to introduce C++ fundamentals, object-oriented programming and event-driven programming. The Deitel’s early classes and objects approach immerses the learner in object-oriented programming from the start. All concepts are presented in the context of complete-working programs using C++ and Microsoft’s Visual C++ 2008 Express version of its Visual Studio 2008 (Orcas) tools.

Table of contents

  1. Dive into Visual Studio 2010
    1. Dive into Visual Studio 2010
  2. Dive into GNU C++ Compiler
    1. Dive into GNU C++ Compiler
  3. C++ Fundamentals - Part 1
    1. Part 1 Learning Objectives
  4. Lesson 1: Introduction to C++ Programming
    1. Learning Objectives
    2. Text printing program
    3. Comparing integers using if statements, relational operators and equality operators
  5. Lesson 2: Introduction to Classes and Objects
    1. Learning Objectives
    2. Defining a class with a member function
    3. Defining a member function with a parameter
    4. Data members, set functions and get functions
    5. Initializing objects with constructors
    6. Placing a class in a separate file for reusability
    7. Separating interface from implementation
    8. Validating data with set functions
  6. Lesson 3: Control Statements: Part 1
    1. Learning Objectives
    2. GradeBook: Calculating the class average with counter-controlled repetition
    3. GradeBook: Calculating the class average with sentinel-controlled repetition
    4. Preincrementing and postincrementing
  7. Lesson 4: Control Statements: Part 2
    1. Learning Objectives
    2. Compound interest calculations with the for statement
    3. do..while repetition statement
    4. GradeBook: Using the switch statement to count letter grades
    5. The break and continue statements
    6. Logical operators
  8. Lesson 5: Functions
    1. Learning Objectives
    2. Promotion hierarchy for fundamental data types
    3. Simulating the dice game Craps
    4. Scope rules
    5. inline functions
    6. Passing arguments by value and by reference
    7. Default arguments to a function
    8. Unary scope resolution operator
    9. Overloaded square functions
    10. Function templates
  9. Lesson 6: Arrays and Vectors
    1. Learning Objectives
    2. Initializing an array’s elements to zeros and printing the array
    3. Initializing the elements of an array in its declaration
    4. Character arrays processed as strings
    5. static array initialization and automatic array initialization
    6. Passing arrays and individual array elements to functions
    7. GradeBook: Using an array to store grades
    8. Initializing multidimensional arrays
    9. GradeBook: Using a two-dimensional array to store grades
    10. C++ Standard Library class template vector
  10. Lesson 7: Pointers and Pointer-Based Strings
    1. Learning Objectives
    2. Introduction to pointers
    3. Pointer operators and *
    4. Pass-by-value vs. pass-by-reference with pointers
    5. Converting a string to uppercase using a nonconstant pointer to nonconstant data
    6. Printing a string one character at a time using a nonconstant pointer to constant data
    7. Attempting to modify a constant pointer to nonconstant data
    8. Attempting to modify a constant pointer to constant data
    9. Using the sizeof operator
    10. Referencing array elements with the array name and pointers
    11. Multipurpose sorting program with function pointers
    12. Array of pointers to functions
  11. Lesson 8: Classes: A Deeper Look, Part 1
    1. Learning Objectives
    2. Time class definition
    3. Class scope and accessing class members
    4. Enhancing the Time class with set and get method and a constructor with default arguments
    5. Order in which constructors and destructors are called
    6. A subtle trap--returning a reference to a private data member
    7. Default memberwise assignment
  12. Lesson 9: Classes: A Deeper Look, Part 2
    1. Learning Objectives
    2. const objects and const member functions
    3. Member initializer used to initialize a constant of a built-in data type
    4. Composition: Objects as members of classes
    5. friends can access private members of a class
    6. Using the this pointer
    7. Using the this pointer to enable cascaded function calls
    8. static class members
  13. C++ Fundamentals - Part 2
    1. Part 2 Learning Objectives
  14. Lesson 10: Operator Overloading: String and Array Objects
    1. Learning Objectives
    2. Overloaded stream insertion and stream extraction operators
    3. Case Study: Array class
    4. Case Study: Array class
    5. Case Study: String class
    6. Case Study: Date class
    7. Standard library class string
    8. Explicit constructors
  15. Lesson 11: Object-Oriented Programming: Inheritance
    1. Learning Objectives
    2. CommunityMember and Shape class hierarchies
    3. ComissionEmployee class
    4. BasePlusCommissionEmployee class
    5. Attempting to inherit from the CommissionEmployee class into the BasePlusCommissionEmployee class
    6. CommissionEmployee-BasePlusCommissionEmployee hierarchy with protected data
    7. CommissionEmployee-BasePlusCommissionEmployee hierarchy with private data
    8. When constructors and destructors in a class hierarchy are called
  16. Lesson 12: Object-Oriented Programming: Polymorphism
    1. Learning Objectives
    2. Assigning addresses of base-class and derived class objects to base-class and derived-class pointers
    3. Aiming a derived-class pointer at a base-class object
    4. Attempting to invoke derived-class-only functions via a base-class pointer
    5. Demonstrating polymorphism by invoking a derived-class virtual function via base-class pointer to a derived-class object
    6. Case Study: Payroll system using polymorphism
    7. Polymorphism, virtual functions and dynamic binding "under the hood"
    8. Case Study: Payroll system using polymorphism and runtime type information with dynamic_cast, typeid and type_info
  17. Lesson 13: Templates
    1. Learning Objectives
    2. Function template specializations of function template printArray
    3. Building a Stack class template
    4. Passing a Stack template object to a function template
  18. Lesson 14: Exception Handling
    1. Learning Objectives
    2. Exception handling example that throws exceptions on attempts to divide by zero
    3. Rethrowing an exception
    4. Stack unwinding
    5. new throwing bad_alloc on failure
    6. set_new_handler specifying the function to call when new fails
    7. auto_ptr object manages dynamically allocated memory
  19. Lesson 15: STL Overview and an Introduction to Iterators
    1. Learning Objectives
    2. Standard library container classes
    3. STL container common functions
    4. typedefs found in first-class containers
    5. Input and output stream iterators
    6. Iterator categories and the iterator category hierarch
    7. Iterator types supported by each Standard Library container
    8. Iterator operations for each type of iterator
  20. Lesson 16: STL Containers and Container Adapters
    1. Learning Objectives
    2. Standard Library vector class template
    3. vector class template element-manipulation functions
    4. Standard Library list class template
    5. Standard Library deque class template
    6. Standard Library multiset class template
    7. Standard Library set class template
    8. Standard Library multimap class template
    9. Standard Library map class template
    10. Standard Library stack adapter class
    11. Standard Library queue adapter class
    12. Standard Library priority_queue adapter class
  21. Lesson 17: STL Algorithms, the Bitset Class, and Function Objects
    1. Learning Objectives
    2. fill, fill_n, generate and generate_n algorithms
    3. equal, mismatch and lexicographical_compare algorithms
    4. remove, remove_if, remove_copy and remove_copy_if algorithms
    5. replace, replace_if, replace_copy and replace_copy_if
    6. Mathematical algorithms of the Standard Library
    7. Basic searching and sorting algorithms of the Standard Library
    8. copy_backward, merge, unique and reverse algorithms
    9. inplace_merge, unique_copy and reverse_copy algorithms
    10. set operations of the Standard Library
    11. lower_bound, upper_bound and equal_range algorithms
    12. min and max algorithms
    13. bitset class
    14. Function objects

Product information

  • Title: C++ Fundamentals I and II (Video Training)
  • Author(s):
  • Release date: July 2010
  • Publisher(s): Pearson
  • ISBN: 9780137045150