Initializing Data Members: From C++11 till C++20

Beginner

17 Lessons

3h

Certificate of Completion

AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

17 Playgrounds

This course includes

17 Playgrounds

Course Overview

Throughout this course, you will learn all the options to initialize data members in C++ using a simpler syntax and safer code. More specifically, in this mini course you will learn non-static data member initialization, inline variables, designated initializers, and more. Additionally, you’ll see the changes and new techniques from C++11 to C++20 to really round out your understanding.

What You'll Learn

Understand initialization order of data members

Learn all the essential features of Modern C++, including non-static data member initialization and inline variables

See the latest features of C++17 and C++20 like inline variables and designated initializers

What You'll Learn

Understand initialization order of data members

Show more

Course Author

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor