This course begins with advanced C++ concepts by helping you decipher the sophisticated C++ type system and understand how various stages of compilation convert source code to object code. You'll then learn how to recognize the tools that need to be used in order to control the flow of execution, capture data, and pass data around. By creating small models, you'll even discover how to use advanced lambdas and captures and express common API design patterns in C++. As you cover later lessons, you'll explore ways to optimize your code by learning about memory alignment, cache access, and the time a program takes to run. The concluding lesson will help you to maximize performance by understanding modern CPU branch prediction and how to make your code cache-friendly.

starstarstarstarstar

* Actual course outline may vary depending on offering center. Contact your sales representative for more information.

Learning Objectives

By the end of this course, you'll have developed programming skills that will set you apart from other C++ programmers. After completing this course, you will be able to:
Delve into the anatomy and workflow of C++
Study the pros and cons of different approaches to coding in C++
Test, run, and debug your programs
Link object files as a dynamic library
Use templates, SFINAE, constexpr if expressions and variadic templates
Apply best practice to resource management

1
  • Anatomy of Portable C++ Software

  • Managing C++ Projects
    Writing Readable Code

2
  • No Ducks Allowed - Types and Deduction

  • C++ Types
    Creating User Types
    Structuring our Code

3
  • No Ducks Allowed - Templates and Deduction

  • Inheritance, Polymorphism, and Interfaces
    Templates - Generic Programming
    Type Aliases - typedef and using
    Class Templates

4
  • No Leaks Allowed - Exceptions and Resources

  • Exceptions in C++
    RAII and the STL
    Move Semantics
    Name Lookup
    Caveat Emptor

5
  • Separation of Concerns - Software Architecture, Functions, and Variadic Templates

  • Function Objects and Lambda Expressions
    Variadic Templates

6
  • The Philosophers' Dinner - Threads and Concurrency

  • Synchronous, Asynchronous, and Threaded Execution
    Review Synchronization, Data Hazards, and Race Conditions
    Future, Promises, and Async

7
  • Streams and I/O

  • File I/O Implementation Classes
    String I/O Implementation
    I/O Manipulators
    Making Additional Streams
    Using Macros

8
  • Everybody Falls, It's How You Get Back Up - Testing and Debugging

  • Assertions
    Unit Testing and Mock Testing
    Understanding Exception Handling
    Breakpoints, Watchpoints, and Data Visualization

9
  • Need for Speed - Performance and Optimization

  • Performance Measurement
    Runtime Profiling
    Optimization Strategies
    Cache Friendly Code

Audience

If you have worked in C++ but want to learn how to make the most of this language, especially for large projects, this course is for you.

Language

English

Prerequisites

A general understanding of programming and knowledge of using an editor to produce code files in project directories is a must. Some experience with strongly typed languages, such as C and C++, is also recommended.

$975

Length: 3.0 days (24 hours)

Level:

Not Your Location? Change

Course Schedule:

To request a custom delivery, please chat with an expert.

Loading...