Paths

C++

Authors: Giovanni Dicanio, Kate Gregory, Dror Helper, Kenny Kerr, Dmitri Nesteruk

C++ is an object-oriented programming language that was first developed by Bjarne Stroustrup. It was originally created to be an extension of the C language, which is a... Read more

Beginner

If you’re just learning to program you can get a gentle introduction with Learn How to Program with C++ . If you already know how to program and just want to learn C++, you can start with the C++ Fundamentals course. By the time you’ve completed these courses, you’ll be confident in writing basic applications and be familiar with the features offered in C++.

Learn How to Program with C++

by Kate Gregory

Jul 22, 2013 / 6h 57m

6h 57m

Start Course
Description

C++ has a reputation for being a very difficult language to learn, and to use well. Changes to the language and the library that accompanies it have changed that. Beginners can now learn C++ and write real applications. In this course you'll learn the important parts of C++ 11 syntax, get an introduction to the most useful parts of the Standard Library, and be challenged to write applications yourself in addition to watching someone else write and explain code.

Table of contents
  1. Getting Started43m
  2. Streams, Locals, and Flow of Control1h 5m
  3. Functions and Headers56m
  4. Strings and Collections59m
  5. Writing Classes59m
  6. Compiler Specific Topics26m
  7. Topics to Learn Later54m
  8. Legacy Constructs52m

C++ Fundamentals Including C++ 17

by Kate Gregory

Mar 6, 2018 / 5h 48m

5h 48m

Start Course
Description

C++ is a general purpose programming language that is used by millions of developers. It has a reputation for being hard to learn and use, but with the changes in the language over the last few decades, this reputation is no longer deserved. C++ offers a powerful combination of performance and abstraction that other languages don’t have. In this course, C++ Fundamentals Including C++ 17, you'll learn how to write simple console applications and be ready to move on to writing platform-specific code. First, you’ll learn the basics of language syntax: declaring variables, classes, building expressions using operators and functions, working up to templates, indirection, and polymorphism. You'll explore the syntax additions from C++ 11, C++ 14, and C++17, using any modern compiler to run the examples. You'll also see the principles of Modern C++ in action, relying on the Standard Library and using idioms like Resource Acquisition is Initialization to reduce the effort involved in memory management. By the end of this course, you’ll be comfortable reading and writing Modern C++, including features added in C++17.

Table of contents
  1. Course Overview2m
  2. Understanding C++ in Context16m
  3. Tools33m
  4. Variables and Fundamental Types23m
  5. Language Basics - User Defined Types41m
  6. Language Basics – Flow of Control26m
  7. Language Basics - Functions37m
  8. Language Basics - Operators37m
  9. Templates30m
  10. Indirection32m
  11. Memory Management31m
  12. Indirection and Inheritance35m

Practical C++14 and C++17 Features

by Giovanni Dicanio

Dec 11, 2017 / 2h 33m

2h 33m

Start Course
Description

After the C++11 "revolution," several other features were added by the C++14 and C++17 standards. While C++11 was a massive improvement over the previous C++98/03, C++14 and C++17 are kind of more incremental improvements; nonetheless, interesting, powerful and useful features were added in these recent C++ standards. In this course, Practical C++14 and C++17 Features, you'll learn many practical features added in the C++14 and C++17 standards, assuming you have only a basic knowledge of C++11, like the one you can get watching the "C++11 from Scratch" course; any advanced C++11 concepts will be explained here on a need-to-know basis. Among the many topics discussed in this course, you'll start learning small but nice features, like digit separators. Then you'll explore more substantial features, like polymorphic lambdas (the course will also introduce basic lambdas as well, so you're not left in the dark if you don't know C++11 lambdas), and relaxed constexpr functions. You'll also learn about improvements to the C++ standard library, like the new standard-defined suffixes for the Chrono library (which will be introduced as well), or std::make_unique in combination with the unique_ptr smart pointer (that'll be introduced here as well). Finally, you'll explore new practical C++17 features, ranging from nested namespaces, to "constexpr if" and structured bindings. The features will be discussed using both slides, and with concrete C++ demo code, including showing some subtle bugs, and how to fix them. After completing this course, you'll be able to write simpler, clearer, more efficient and higher-quality modern C++ code, applying the features discussed in this course in your own C++ codebases. This course targets developers who are already familiar with basic C++11, and want to extend their knowledge to practical C++ features introduced in C++14 and in C++17. If you need a beginner-oriented introduction to C++11, you can watch the "C++11 from Scratch" course.

Table of contents
  1. Course Overview2m
  2. Convenient Syntactic Sugar13m
  3. Miscellaneous Improvements to C++1126m
  4. Standard Library Improvements48m
  5. Better Lambdas26m
  6. Practical Convenient C++17 Language Improvements36m

C++ Unit Testing Fundamentals Using Catch

by Dror Helper

Oct 21, 2016 / 1h 38m

1h 38m

Start Course
Description

Writing unit tests is a big part of being a good software developer. Unfortunately, unit testing in C++ is far from being trivial and good unit testing frameworks are hard to find. In this course, C++ Unit Testing Fundamentals Using Catch, you will learn how to write robust unit tests using Catch, a simple-to-use, yet flexible and powerful unit testing framework for C++. You will learn what makes Catch different from other xUnit frameworks, and how it can be used to write unit tests for your C++ code. You will also get to see how to run Catch from the command line, how to use test fixtures, and how to create maintainable tests. When you're finished with this course, you will have a foundational knowledge of Catch and unit testing in C++ that would help you create better, cleaner C++ code.

Table of contents
  1. Course Overview1m
  2. Introducing Catch20m
  3. Organizing Your Tests Using Catch26m
  4. Asserting Using Catch23m
  5. Handling Duplicate Code26m

Intermediate

These intermediate courses will take you on a deep-dive in designing beautiful and functional C++ code. You’ll learn how to write efficient and modern C++ using design patterns and the C++ standard library.

Modern C++ Libraries

by Kenny Kerr

Aug 28, 2013 / 4h 1m

4h 1m

Start Course
Description

This course is about the practical application of the modern C++ language. It's about using (and creating) modern C++ libraries. You're going to learn how to use a modern C++ style of programming. You will see how it helps to turn C++ into a modern language that's intuitive and elegant. This course covers the essential skills needed by any C++ developer to handle resources and write efficient classes that work well with standard containers. You will also learn all about the standard smart pointers, containers, strings, and regular expressions. Along the way, you'll pick up essential tips and tricks to get the best out of modern C++ using C++11 and beyond.

Table of contents
  1. Getting Started37m
  2. Smart Pointers39m
  3. Smart Classes45m
  4. Container Essentials55m
  5. Associative Containers32m
  6. Strings and Regular Expressions30m

Beautiful C++: STL Algorithms

by Kate Gregory

Jun 30, 2016 / 4h 24m

4h 24m

Start Course
Description

If you're a C++ developer, save yourself valuable time and work by learning how to use the algorithm header. In this course, Beautiful C++: STL Algorithms, you'll learn the functions in the algorithm header. You'll find out how iterators multiply the power of the library. Next, you'll learn the conventions that lower your mental burden. Finally, you'll learn how to use the same algorithm with different collections so you don't have to learn new functions. After this course, you'll know what the algorithm header has to offer you and how to use it to your advantage while developing.

Table of contents
  1. Course Overview2m
  2. Standard Library Philosophy and Approach19m
  3. Counting and Finding40m
  4. Sorting35m
  5. Comparing and Accumulating24m
  6. Generating and Manipulating Collections52m
  7. Using the Power of Iterators36m
  8. Unexpectedly Useful Operations23m
  9. Conventions28m

Design Patterns in C++: Creational

by Dmitri Nesteruk

Jan 28, 2016 / 4h 12m

4h 12m

Start Course
Description

A look at the creational design patterns and their implementation using Modern C++. Covers the Factory design pattern (Factory Method, Abstract Factory) as well as Builder, Prototype, and Singleton. Also covers the SOLID design principles, demonstrates Dependency Injection via Boost.DI, and even shows an example of a Maybe Monad.

Table of contents
  1. Course Overview1m
  2. Preliminaries1h 14m
  3. Builder50m
  4. Factories41m
  5. Prototype46m
  6. Singleton37m

Design Patterns in C++: Structural - Adapter to Decorator

by Dmitri Nesteruk

Apr 22, 2016 / 2h 24m

2h 24m

Start Course
Description

The correct application and recognition of design patterns is an important skill for developers and architects. This course, Design Patterns in C++: Structural - Adapter to Decorator (part of a multi-series course on C++ patterns), introduces you to Structural design patterns. First you'll cover the Adapter and Bridge patterns, moving on to the Composite and Decorator design patterns. You'll also be shown different ways in which these patterns can be implemented in modern C++ (C++ 11 and beyond). Software required: a C++ IDE (e.g., Visual Studio, CLion) or a text editor (e.g., VIM, EMACS) together with a C++ compiler (e.g., GCC, Clang).

Table of contents
  1. Course Overview1m
  2. Adapter39m
  3. Bridge23m
  4. Composite36m
  5. Decorator42m

Design Patterns in C++: Structural - Façade to Proxy

by Dmitri Nesteruk

Jun 23, 2016 / 1h 46m

1h 46m

Start Course
Description

The correct application and recognition of design patterns is an important skill for developers and architects. This course, Design Patterns in C++: Structural - Façade to Proxy, is part of a multi-series course on C++ patterns, and it introduces you to structural design patterns. It covers the Façade, Flyweight, Null Object, and Proxy design patterns, showing different ways in which these patterns can be implemented in modern C++ (C++ 11 and beyond). First, you'll learn about Façade. The Façade pattern attempts to hide the interface of a complicated system (often involving several components and their relationships) behind a single, easy-to-use interface. Next, you'll learn about Flyweight, which is used to save up on memory by sharing as much data as is possible with similar objects. After that you'll learn about Null Objects, which lets you provide a neutered, no-op object which conforms to the interface but does absolutely nothing at all. Finally, you'll learn about Proxy design patterns, which lets an object 'stand in' for another object, conforming to the same interface while performing additional operations. By the end of this course, you should be able to recognize these design patterns in other libraries and you'll be able to then apply these patterns in your own work.

Table of contents
  1. Course Overview1m
  2. Façade32m
  3. Flyweight30m
  4. Null Object15m
  5. Proxy26m

Advanced

Our advanced C++ courses are not for the faint of heart, but don’t be afraid! You will gain a deeper understanding of threading and synchronization and some pro tips for squeezing the most performance possible out of your code.

Modern C++ Concurrency

by Kenny Kerr

Oct 15, 2013 / 4h 33m

4h 33m

Start Course
Description

This course will introduce you to modern C++ concurrency on the Windows operating system. Unfortunately, standard or portable concurrency is still in its infancy so a comprehensive study of concurrency cannot get away from the practical and platform-specific aspects of the craft. As such, this course uses the Windows operating system as the playground to explore concurrency in C++. This course will prepare you with a deep understanding of threads and synchronization at the OS level, including modern synchronization primitives such as slim reader/writer locks and condition variables. You will learn all about the mighty Windows thread pool API and the Concurrency Runtime. Finally, you will be introduced to some of the shortcomings that plague the C++11 Thread Support Library.

Table of contents
  1. Getting Started7m
  2. Threads51m
  3. Synchronization49m
  4. Condition Variables33m
  5. The Windows Thread Pool38m
  6. The Windows Thread Pool - Part 235m
  7. The Concurrency Runtime38m
  8. The C++11 Thread Support Library19m

High-performance Computing in C++

by Dmitri Nesteruk

Sep 17, 2015 / 4h 3m

4h 3m

Start Course
Description

Do you want to get the absolute most performance out of your hardware? Want to write code that scales across CPU registers, multi-core, and machine clusters? Then this is the course for you!

Table of contents
  1. Single Instruction Multiple Data (SIMD)52m
  2. Open Multi-Processing (OpenMP)37m
  3. Message Passing Interface (MPI)56m
  4. C++ Accelerated Massive Parallelism (C++ AMP)1h 0m
  5. Generative Art Demo36m

What you will learn

  • Operators
  • Objects
  • Classes
  • Flow of control
  • References
  • Polymorphism and inheritance
  • C++ Type System
  • Heap/stack semantics
  • Stream I/O
  • Overloading
  • Lambdas
  • Exceptions
  • Scope management
  • Templates
  • C++ Standard Library
  • Concurrency

Pre-requisites

If you’re just learning to program you can get a gentle introduction with Learn How to Program with C++ . If you already know how to program and just want to learn C++, you can start with the C++ Fundamentals course.

Offer Code *
Email * First name * Last name *
Company
Title
Phone
Country *

* Required field

Opt in for the latest promotions and events. You may unsubscribe at any time. Privacy Policy

By activating this benefit, you agree to abide by Pluralsight's terms of use and privacy policy.

I agree, activate benefit
C++

Grow your C++ skills

C++ can be developed in the object-oriented style, or in the C-style, making it a truly hybrid language. This path will take you from the very basics of programming using C++ and will vault you forward into creating rich applications for the Windows operating system.

Timeline

Learn on your own timeline

Master

Master your craft

Emerging trends

Keep up with emerging trends

THE TECHNOLOGY LEARNING PLATFORM

Pluralsight IQ

Pluralsight IQ

Validate skill levels with assessments that take 5 minutes or less.

Courses

Thousands of courses

Keep up with the pace of change with expert-led, in-depth courses.

Channels

Channels

Curate and share Pluralsight content to reach your learning goals faster.

Hands-on learning

Hands-on learning

Practice and apply knowledge faster in real-world scenarios with projects. and interactive courses.

What is Pluralsight?

As you evolve your career, you need a learning solution that inspires you to create the future. With our platform, you can keep up with the speed of technology, work smarter and faster, and gain in-demand skills in areas like cloud, mobile, security and data.

Start creating the future now

Explore the benefits of a plan for teams of 2 or more. Learn more »


Our learners love us

Push the limits of what you can do