Skip to Main Content
Microsoft Visual C++/CLI Step by Step
book

Microsoft Visual C++/CLI Step by Step

by Julian Templeman
August 2013
Beginner content levelBeginner
540 pages
12h 51m
English
Microsoft Press
Content preview from Microsoft Visual C++/CLI Step by Step

Chapter 8. Inheritance

After completing this chapter, you will be able to:

  • Describe the importance of inheritance in object-oriented programming.

  • Define a base class.

  • Define a derived class.

  • Access base-class members from the derived class.

  • Use the virtual keyword to achieve polymorphism.

  • Define abstract classes and abstract methods.

  • Define sealed classes.

  • Use interfaces.

In this chapter, you will learn how to use all aspects of inheritance in C++/CLI. You will see how to define base classes and derived classes, and you will find out how to use these classes effectively in your application.

What is inheritance?

Inheritance is an important concept in object-oriented programming, helping us relate and classify types in a way that makes our applications more ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft Visual C++ Windows Applications by Example

Microsoft Visual C++ Windows Applications by Example

Stefan Bjornander
Visual Basic 2015 Unleashed

Visual Basic 2015 Unleashed

Alessandro Del Sole
Build Windows 8 Apps with Microsoft Visual C++ Step by Step

Build Windows 8 Apps with Microsoft Visual C++ Step by Step

Paolo Pialorsi Luca Regnicoli and Roberto Brunetti

Publisher Resources

ISBN: 9780735675162Purchase book