Video description
Sneak Peek
The Sneak Peek program provides early access to Pearson video products and is exclusively available to Safari subscribers. Content for titles in this program is made available throughout the development cycle, so products may not be complete, edited, or finalized, including video post-production editing.
7+ hours of video instruction.
Overview
The professional programmer’s Deitel® video guide to C++.
Description
Written for programmers with a background in high-level language programming, this LiveLesson applies the Deitel signature live-code approach to teaching programming and explores the C++ language and standard library in depth. The LiveLesson presents concepts in the context of fully tested programs, not code fragments. The LiveLesson features hundreds of complete C++ programs with thousands of lines of proven C++ code, and hundreds of tips that will help you build robust applications.
Download the code files associated with this LiveLesson from http://www.informit.com/store/c-plus-plus17-fundamentals-livelessons-part-i-video-9780133509540.
NOTE this LiveLesson is one in a series of three:
- C++ Fundamentals LiveLessons Part II
- C++ Fundamentals LiveLessons Part III
Skill Level
Beginner-to-Intermediate
What you Will Learn
C++ Fundamentals LiveLessons Part I begins with a tutorial on setting up your C++ environment, then with tutorials on using Microsoft's Visual Studio or Apple's Xcode. Then begin exploring C++ development. Deitel uses an "early objects" approach in this video, so you are immediately immersed in the world of C++ classes and objects. You then learn about the key control statements in C++ used to manage program flow. And the video finishes with a deeper exploration of C++ functions.
Who should take this course?
Programmers experienced in a high-level programming language and interested in learning the C++ programming language
Course requirements
Familiarity with any high-level programming language, including C, C#, Java, Python, JavaScript, etc...
Table of Contents
Before You Begin
Before You Begin
None
Introduction
Checking Your Setup/Launching Visual Studio
Creating a Project and Adding GuessNumber.cpp
Compiling and Running the Project
None
Introduction
Launching Xcode, Creating a Project and Adding GuessNumber.cpp
Compiling and Running the Project
Lesson 2: Introduction to C++
Intoduction
First C++ program; Output with cout
Displaying a Single Line of Text with Multiple Statements
Displaying Multiple Lines of Text with a Single Statement
Adding Integers; Input with cin
Arithmetic operators
The if statement and the relational and equality operators
Lesson 3: Introduction to Classes
Introduction
Creating and manipulating an Account object
Account class that contains a name data member and member functions to set and get its value.
Using the debugger to understand the flow of control as you interact with objects
Account class with a constructor that initializes the account name.
Aside: Software engineering with set and get member functions
Account class with name and balance data members, and a constructor and deposit function that each perform validation.
Lesson 4: Control Statements, Part 1
Introduction
Keywords
if Statement
if…else Statement
Nested if…else Statement
Conditional Operator (?:)
Counter-Controlled Iteration
Sentinel-Controlled Iteration
Compound Assignment Operators
Increment and Decrement Operators
Lesson 5: Control Statements, Part 2
Introduction
Essentials of counter-controlled iteration
Counter-controlled iteration with the for statement
Application: Summing Even Integers
Application: Compound-Interest Calculations
Floating-point numbers and representational error
Overview of the Case Study: Integer-Based Monetary Calculations with Class DollarAmount
Performing monetary calculations with class DollarAmount
DollarAmount class implementation
do…while iteration statement
Using a switch statement to count letter grades
break statement exiting a for statement.
continue statement terminating an iteration of a for statement
Logical operators
Lesson 6: Functions
Introduction
Function Prototypes
More about function prototypes; Argument coercion
C++ Standard Library Headers
Rolling a six-sided die.
Rolling a Six-Sided Die 60,000,000 Times
Randomizing the Random-Number Generator with srand
Case Study: Game of Chance; Introducing Scoped enums
C++ 11 (and higher) nondeterministic random numbers
Scope Rules
Inline functions
References and Reference Parameters
Default Arguments
Unary Scope Resolution Operator
Function Overloading
Function templates
Recursion