Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

C++ Fundamentals I and II is 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.

Subscriber Reviews

Average Rating: 4.419354838709677 out of 5 rating Based on 31 Ratings

"Missing Code" - by publicFunction on 16-DEC-2012
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
In the start it talks about the example files. This site only has a partial section of these files (Ch11 onwards), the full examples used by Paul can be downloaded from here (http://www.informit.com/store/c-plus-plus-fundamentals-i-and-ii-livel-
essons-video-9780137044832), so you can follow along properly.

Report as Inappropriate

"A great way to learn C++" - by Rawhide on 25-SEP-2012
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This is an excellent way to learn C++. Concepts are explained thoroughly. The pacing is just right - not too slow or too fast.
Report as Inappropriate

"Dynamite when you also have the book" - by tom on 11-JUN-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
really easy way to learn
Report as Inappropriate

"Code" - by Yazid on 16-DEC-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
where can I download the code?
Report as Inappropriate

Table of Contents

Chapter/Selection

Time

Dive into Visual Studio 2010

Dive into Visual Studio 2010

Play Video

00:19:16

Dive into GNU C++ Compiler

Dive into GNU C++ Compiler

Play Video

00:11:48

C++ Fundamentals - Part 1

Part 1 Learning Objectives

Play Video

00:04:22

Lesson 1: Introduction to C++ Programming

Learning Objectives

Play Video

00:00:56

Text printing program

Preview

00:11:56

Comparing integers using if statements, relational operators and equality operators

Preview

00:14:23

Lesson 2: Introduction to Classes and Objects

Learning Objectives

Play Video

00:01:35

Defining a class with a member function

Preview

00:12:28

Defining a member function with a parameter

Play Video

00:07:35

Data members, set functions and get functions

Preview

00:10:15

Initializing objects with constructors

Preview

00:09:00

Placing a class in a separate file for reusability

Preview

00:06:04

Separating interface from implementation

Preview

00:15:49

Validating data with set functions

Preview

00:06:00

Lesson 3: Control Statements: Part 1

Learning Objectives

Play Video

00:00:37

GradeBook: Calculating the class average with counter-controlled repetition

Preview

00:05:48

GradeBook: Calculating the class average with sentinel-controlled repetition

Preview

00:10:52

Preincrementing and postincrementing

Play Video

00:03:27

Lesson 4: Control Statements: Part 2

Learning Objectives

Play Video

00:01:26

Compound interest calculations with the for statement

Preview

00:09:32

do..while repetition statement

Preview

00:01:40

GradeBook: Using the switch statement to count letter grades

Preview

00:12:24

The break and continue statements

Preview

00:03:19

Logical operators

Preview

00:06:01

Lesson 5: Functions

Learning Objectives

Play Video

00:02:56

Promotion hierarchy for fundamental data types

Preview

00:02:47

Simulating the dice game Craps

Preview

00:11:00

Scope rules

Preview

00:11:19

inline functions

Preview

00:01:58

Passing arguments by value and by reference

Preview

00:04:34

Default arguments to a function

Preview

00:04:34

Unary scope resolution operator

Preview

00:01:25

Overloaded square functions

Preview

00:08:01

Function templates

Preview

00:14:05

Lesson 6: Arrays and Vectors

Learning Objectives

Play Video

00:02:16

Initializing an array’s elements to zeros and printing the array

Preview

00:03:34

Initializing the elements of an array in its declaration

Preview

00:03:02

Character arrays processed as strings

Preview

00:07:23

static array initialization and automatic array initialization

Preview

00:05:29

Passing arrays and individual array elements to functions

Preview

00:09:06

GradeBook: Using an array to store grades

Preview

00:13:06

Initializing multidimensional arrays

Preview

00:06:34

GradeBook: Using a two-dimensional array to store grades

Preview

00:07:55

C++ Standard Library class template vector

Preview

00:18:17

Lesson 7: Pointers and Pointer-Based Strings

Learning Objectives

Preview

00:02:02

Introduction to pointers

Preview

00:02:59

Pointer operators & and *

Preview

00:07:48

Pass-by-value vs. pass-by-reference with pointers

Preview

00:08:57

Converting a string to uppercase using a nonconstant pointer to nonconstant data

Preview

00:08:24

Printing a string one character at a time using a nonconstant pointer to constant data

Preview

00:05:25

Attempting to modify a constant pointer to nonconstant data

Preview

00:02:14

Attempting to modify a constant pointer to constant data

Preview

00:02:36

Using the sizeof operator

Preview

00:06:40

Referencing array elements with the array name and pointers

Preview

00:06:03

Multipurpose sorting program with function pointers

Preview

00:09:14

Array of pointers to functions

Preview

00:03:50

Lesson 8: Classes: A Deeper Look, Part 1

Learning Objectives

Preview

00:02:04

Time class definition

Preview

00:13:34

Class scope and accessing class members

Preview

00:04:44

Enhancing the Time class with set and get method and a constructor with default arguments

Preview

00:17:21

Order in which constructors and destructors are called

Preview

00:11:53

A subtle trap--returning a reference to a private data member

Preview

00:07:30

Default memberwise assignment

Preview

00:05:07

Lesson 9: Classes: A Deeper Look, Part 2

Learning Objectives

Preview

00:05:20

const objects and const member functions

Preview

00:10:28

Member initializer used to initialize a constant of a built-in data type

Preview

00:06:15

Composition: Objects as members of classes

Preview

00:22:03

friends can access private members of a class

Preview

00:07:46

Using the this pointer

Preview

00:04:17

Using the this pointer to enable cascaded function calls

Preview

00:05:48

static class members

Preview

00:20:14

C++ Fundamentals - Part 2

Part 2 Learning Objectives

Play Video

00:05:43

Lesson 10: Operator Overloading: String and Array Objects

Learning Objectives

Play Video

00:03:09

Overloaded stream insertion and stream extraction operators

Play Video

00:19:12

Case Study: Array class

Preview

00:14:59

Case Study: Array class

Preview

00:31:12

Case Study: String class

Preview

00:29:18

Case Study: Date class

Preview

00:14:09

Standard library class string

Preview

00:07:02

Explicit constructors

Preview

00:07:32

Lesson 11: Object-Oriented Programming: Inheritance

Learning Objectives

Preview

00:02:14

CommunityMember and Shape class hierarchies

Preview

00:07:17

ComissionEmployee class

Preview

00:07:21

BasePlusCommissionEmployee class

Preview

00:07:43

Attempting to inherit from the CommissionEmployee class into the BasePlusCommissionEmployee class

Preview

00:13:06

CommissionEmployee-BasePlusCommissionEmployee hierarchy with protected data

Preview

00:04:18

CommissionEmployee-BasePlusCommissionEmployee hierarchy with private data

Preview

00:12:09

When constructors and destructors in a class hierarchy are called

Preview

00:06:57

Lesson 12: Object-Oriented Programming: Polymorphism

Learning Objectives

Preview

00:03:24

Assigning addresses of base-class and derived class objects to base-class and derived-class pointers

Preview

00:10:18

Aiming a derived-class pointer at a base-class object

Preview

00:01:26

Attempting to invoke derived-class-only functions via a base-class pointer

Preview

00:04:29

Demonstrating polymorphism by invoking a derived-class virtual function via base-class pointer to a derived-class object

Preview

00:10:07

Case Study: Payroll system using polymorphism

Preview

00:34:43

Polymorphism, virtual functions and dynamic binding "under the hood"

Preview

00:08:29

Case Study: Payroll system using polymorphism and runtime type information with dynamic_cast, typeid and type_info

Preview

00:12:00

Lesson 13: Templates

Learning Objectives

Preview

00:00:54

Function template specializations of function template printArray

Preview

00:06:25

Building a Stack class template

Preview

00:17:38

Passing a Stack template object to a function template

Preview

00:05:29

Lesson 14: Exception Handling

Learning Objectives

Preview

00:03:38

Exception handling example that throws exceptions on attempts to divide by zero

Preview

00:14:21

Rethrowing an exception

Preview

00:05:58

Stack unwinding

Preview

00:07:12

new throwing bad_alloc on failure

Preview

00:04:21

set_new_handler specifying the function to call when new fails

Preview

00:03:05

auto_ptr object manages dynamically allocated memory

Preview

00:07:50

Lesson 15: STL Overview and an Introduction to Iterators

Learning Objectives

Preview

00:02:57

Standard library container classes

Preview

00:03:22

STL container common functions

Preview

00:03:22

typedefs found in first-class containers

Preview

00:04:26

Input and output stream iterators

Preview

00:07:10

Iterator categories and the iterator category hierarch

Preview

00:04:00

Iterator types supported by each Standard Library container

Preview

00:03:40

Iterator operations for each type of iterator

Preview

00:04:14

Lesson 16: STL Containers and Container Adapters

Learning Objectives

Preview

00:02:40

Standard Library vector class template

Preview

00:16:12

vector class template element-manipulation functions

Preview

00:12:30

Standard Library list class template

Preview

00:09:55

Standard Library deque class template

Preview

00:02:44

Standard Library multiset class template

Preview

00:11:20

Standard Library set class template

Preview

00:06:13

Standard Library multimap class template

Preview

00:05:16

Standard Library map class template

Preview

00:04:15

Standard Library stack adapter class

Preview

00:04:13

Standard Library queue adapter class

Preview

00:01:41

Standard Library priority_queue adapter class

Preview

00:01:15

Lesson 17: STL Algorithms, the Bitset Class, and Function Objects

Learning Objectives

Preview

00:02:16

fill, fill_n, generate and generate_n algorithms

Preview

00:09:07

equal, mismatch and lexicographical_compare algorithms

Preview

00:09:31

remove, remove_if, remove_copy and remove_copy_if algorithms

Preview

00:08:04

replace, replace_if, replace_copy and replace_copy_if

Preview

00:03:56

Mathematical algorithms of the Standard Library

Preview

00:08:39

Basic searching and sorting algorithms of the Standard Library

Preview

00:05:49

copy_backward, merge, unique and reverse algorithms

Preview

00:04:35

inplace_merge, unique_copy and reverse_copy algorithms

Preview

00:05:37

set operations of the Standard Library

Preview

00:07:00

lower_bound, upper_bound and equal_range algorithms

Preview

00:06:10

min and max algorithms

Preview

00:00:49

bitset class

Preview

00:10:19

Function objects

Preview

00:05:26

Extras

The publisher has provided additional content related to this title.


Description
Content

These files have been provided by the publisher.

  • Mac.zip
  • Win.zip