Learn your way! Get started

C++ 11, Part 4 of 4: Arrays, Strings, and Functions

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 12/7/2016
Level Intermediate
Runtime 1h 54m
Closed captioning N/A
Transcript N/A
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

Learn how arrays are defined, accessed, manipulated, and iterated over. Discover how to use and work with character data with strings and how C++ handles copying and string reference semantics under the covers while processing string data. Take a look at how to define functions and what libraries of useful functions exist out of the box along with control structures and looping constructs.

Prerequisites

This course assumes that students have some rudimentary understanding of general programming concepts. Watching Parts 1 and 2 in this series will be helpful. 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



Arrays and Strings

Arrays (14:54)
  • Introduction (00:46)
  • Demo: Arrays (05:08)
  • Demo: Initialization and Passing Arrays (04:19)
  • Demo: Multidimensional Arrays (04:03)
  • Summary (00:36)
Standard Library Strings (13:34)
  • Introduction (00:53)
  • Demo: The String Class (05:31)
  • Demo: Const References (04:08)
  • Demo: Different Behavior (02:28)
  • Summary (00:32)
More Standard Library Strings (18:01)
  • Introduction (01:23)
  • Demo: Raw String Literals (03:28)
  • Demo: String Methods (06:46)
  • Demo: Sharing Addresses (05:26)
  • Summary (00:56)
Functions (17:57)
  • Introduction (01:54)
  • Demo: Function Basics (05:15)
  • Demo: Methods (04:40)
  • Demo: Inline and Recursive Functions (04:40)
  • Summary (01:26)
More Functions (16:48)
  • Introduction (00:35)
  • Demo: Review (04:42)
  • Demo: Coor Class (02:08)
  • Demo: Lambda Functions (04:59)
  • Demo: Lambda Functions Cont. (03:55)
  • Summary (00:28)
Function Pointers (15:01)
  • Introduction (00:35)
  • Demo: Calling Functions (04:24)
  • Demo: Using Function Pointers (05:18)
  • Demo: Function References (04:12)
  • Summary (00:30)
Control Statements (18:05)
  • Introduction (01:06)
  • Demo: Compound Statements (01:51)
  • Demo: If Statements (06:03)
  • Demo: While and Do While Loops (02:19)
  • Demo: For Loops (05:45)
  • Summary (00:59)