Learn your way! Get started

C++ 11, Part 2 of 4: Syntax Fundamentals

with expert Peter Thorsteinson


Watch trailer


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 6/23/2016
Level Intermediate
Runtime 1h 54m
Closed captioning Included
Transcript Included
eBooks / courseware N/A
Hands-on labs N/A
Sample code Included
Exams Included


Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



Course description

In this course, software development expert Peter Thorsteinson examines topics related to data types, operators and expressions. He will define constants and explain the important distinction between expressions known as L values and R values. After an overview of the majority of built-in C++ operators, Thorsteinson will finish off with a look at literal values as well as old style and new style texturing, and how to obtain user input in a console application.

Prerequisites

This course assumes that students have some rudimentary understanding of general programming concepts. No specific experience with C or C++ is required. As with any such course, the more experience you bring to the course, the easier it will be to understand the material that is presented. As a result, if you know C# or Java, that might be somewhat helpful.

Learning Paths

This course is part of the following LearnNowOnline SuccessPaths™:
C++ Development

Meet the expert

Peter Thorsteinson has been working for two decades in many areas of Microsoft-based software development technologies, including all the latest languages, frameworks, and tools. He has been involved in several large scale software development projects and has authored and co-authored several books and courses relating to ASP.NET, AJAX, JavaScript, WPF, WCF, WF, ADO.NET, and LINQ. Peter is currently focusing on ASP.NET MVC, jQuery, Task Parallel Library, Windows Azure, and SharePoint Development.

Course outline



Variables and Types

Data Types and Inference (19:56)
  • Introduction (00:26)
  • Demo: Auto Type Deduction (04:33)
  • Demo: Using decltype (04:15)
  • Fundamental Data Types (10:24)
  • Summary (00:17)
Sizeof and IEEE 754 (32:57)
  • Introduction (00:30)
  • Demo: Sizeof (04:06)
  • Demo: Integer Sizes (05:39)
  • Demo: IEEE 754 (05:34)
  • Demo: Float Precision (04:22)
  • Demo: IEEE 754 (04:48)
  • Demo: Divide by Zero Scenario (05:34)
  • Demo: Exceptions (02:05)
  • Summary (00:14)

Operators and Literals

Constants, L and R Values (10:56)
  • Introduction (00:26)
  • Demo: Constants (05:26)
  • Lvalues vs. Rvalues (04:52)
  • Summary (00:11)
Operators and Precedence (24:46)
  • Introduction (00:35)
  • Demo: Operators (05:45)
  • Demo: Conditional Operator (04:07)
  • Demo: Using Operators (05:39)
  • Demo: Logical and Comparison (02:44)
  • Demo: Precedence (05:40)
  • Summary (00:13)
Literals (26:01)
  • Introduction (00:21)
  • Demo: Literals (05:54)
  • Demo: More Literals (03:46)
  • Demo: String Literals (04:16)
  • Demo: Character Literals (03:29)
  • Strings Old and New (02:30)
  • Demo: Strings (05:26)
  • Summary (00:15)