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

Beginner

3h

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

Join 2.7 million developers at
Overview
Content
Reviews
Related
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.
Throughout this course, you will learn all the options to initialize data members in C++ using a simpler syntax and safer code. ...Show More

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
Understand initialization order of data members

Show more

Developed by MAANG Engineers
Every Educative lesson is designed by a team of ex-MAANG software engineers and PhD computer science educators, and developed in consultation with developers and data scientists working at Meta, Google, and more. Our mission is to get you hands-on with the necessary skills to stay ahead in a constantly changing industry. No video, no fluff. Just interactive, project-based learning with personalized feedback that adapts to your goals and experience.

Trusted by 2.7 million developers working at companies

Hands-on Learning Powered by AI

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

AI Prompt

Build prompt engineering skills. Practice implementing AI-informed solutions.

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.

Explain with AI

Select any text within any Educative course, and get an instant explanation — without ever leaving your browser.

AI Code Mentor

AI Code Mentor helps you quickly identify errors in your code, learn from your mistakes, and nudge you in the right direction — just like a 1:1 tutor!

Free Resources