O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C++17 Fundamentals Part I

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.

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

  1. Before You Begin
    1. Before You Begin 00:10:00
  2. None
    1. Introduction 00:01:55
    2. Checking Your Setup/Launching Visual Studio 00:02:53
    3. Creating a Project and Adding GuessNumber.cpp 00:05:53
    4. Compiling and Running the Project 00:08:10
  3. None
    1. Introduction 00:01:46
    2. Launching Xcode, Creating a Project and Adding GuessNumber.cpp 00:11:58
    3. Compiling and Running the Project 00:05:31
  4. Lesson 2: Introduction to C++
    1. Intoduction 00:01:59
    2. First C++ program; Output with cout 00:15:13
    3. Displaying a Single Line of Text with Multiple Statements 00:02:24
    4. Displaying Multiple Lines of Text with a Single Statement 00:01:10
    5. Adding Integers; Input with cin 00:15:54
    6. Arithmetic operators 00:02:18
    7. The if statement and the relational and equality operators 00:09:18
  5. Lesson 3: Introduction to Classes
    1. Introduction 00:04:10
    2. Creating and manipulating an Account object 00:14:57
    3. Account class that contains a name data member and member functions to set and get its value. 00:15:51
    4. Using the debugger to understand the flow of control as you interact with objects 00:10:45
    5. Account class with a constructor that initializes the account name. 00:19:39
    6. Aside: Software engineering with set and get member functions 00:04:59
    7. Account class with name and balance data members, and a constructor and deposit function that each perform validation. 00:22:31
  6. Lesson 4: Control Statements, Part 1
    1. Introduction 00:01:30
    2. Keywords 00:01:55
    3. if Statement 00:01:43
    4. if...else Statement 00:01:17
    5. Nested if...else Statement 00:01:53
    6. Conditional Operator (?:) 00:01:47
    7. Counter-Controlled Iteration 00:06:16
    8. Sentinel-Controlled Iteration 00:11:24
    9. Compound Assignment Operators 00:01:33
    10. Increment and Decrement Operators 00:04:40
  7. Lesson 5: Control Statements, Part 2
    1. Introduction 00:02:06
    2. Essentials of counter-controlled iteration 00:03:03
    3. Counter-controlled iteration with the for statement 00:03:33
    4. Application: Summing Even Integers 00:01:55
    5. Application: Compound-Interest Calculations 00:07:43
    6. Floating-point numbers and representational error 00:04:22
    7. Overview of the Case Study: Integer-Based Monetary Calculations with Class DollarAmount 00:03:44
    8. Performing monetary calculations with class DollarAmount 00:15:53
    9. DollarAmount class implementation 00:33:35
    10. do…while iteration statement 00:02:25
    11. Using a switch statement to count letter grades 00:10:45
    12. break statement exiting a for statement. 00:03:49
    13. continue statement terminating an iteration of a for statement 00:04:10
    14. Logical operators 00:08:33
  8. Lesson 6: Functions
    1. Introduction 00:02:46
    2. Function Prototypes 00:06:08
    3. More about function prototypes; Argument coercion 00:06:30
    4. C++ Standard Library Headers 00:08:37
    5. Rolling a six-sided die. 00:04:28
    6. Rolling a Six-Sided Die 60,000,000 Times 00:04:27
    7. Randomizing the Random-Number Generator with srand 00:04:41
    8. Case Study: Game of Chance; Introducing Scoped enums 00:12:05
    9. C++ 11 (and higher) nondeterministic random numbers 00:06:06
    10. Scope Rules 00:13:47
    11. Inline functions 00:02:58
    12. References and Reference Parameters 00:06:49
    13. Default Arguments 00:04:13
    14. Unary Scope Resolution Operator 00:01:54
    15. Function Overloading 00:08:58
    16. Function templates 00:07:11
    17. Recursion 00:07:34