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

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

LearnNow Online
Updated Aug 23, 2018

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.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


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.


Meet the expert

Peter Thorsteinson

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.

Video Runtime

114 Minutes

Time to complete

191 Minutes

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)
;