KnowledgeCity

Advanced Class Design C++

This module is all about class design and inheritance. We will introduce the concepts of good class design. We will show the way to use inheritance to describe real world objects.
Preview the first lesson free — get full access to all 14 lessons.

To view this video please enable JavaScript.

Course: On-Demand
Advanced  Provider Mikhail Veygman  14 Lessons ·  1h 14m  in Arabic, German, English, Spanish, French, Portuguese, Chinese Simplified 

What You'll Learn

  • Apply the principles of good class design in C++
  • Use inheritance to model real-world objects, including public, private, and protected inheritance
  • Apply class composition to describe the components of real-life objects
  • Compare composition versus private inheritance and templates versus inheritance
  • Manage class and member initialization using member initialization lists and correct order of initialization
  • Use encapsulation along with pointers and references in inheritance

Key Takeaways

  • The module introduces the concepts of good class design and the principles behind it.
  • Inheritance can be used to describe real-world objects, and the course covers public, private, and protected inheritance.
  • Composition is presented as a way to describe the components of a real-life object.
  • The course examines how composition compares with private inheritance and how templates compare with inheritance.
  • Class initialization topics include member initialization lists and the order of initialization.

Frequently Asked Questions

What does this course cover?

This module covers class design and inheritance in C++, including the concepts of good class design, using inheritance to describe real-world objects, different types of inheritance and how to use them, and the concept of composition for describing components of a real-life object.

What types of inheritance are taught?

The course covers public inheritance, private inheritance, and protected inheritance, and also compares composition with private inheritance.

What skills will I gain from this course?

The course builds skills in C++ concepts, C++ modules, object-oriented modeling and design, object-oriented design, Integrated Definition for Object-Oriented Design (IDEF4), and advanced function presentation.

What topics on initialization are included?

Lessons cover class initialization, member initialization lists, and the order of initialization.