Abstraction and OOP in C++
This is the final chapter on OOP in C. In this chapter, we are going to cover the remaining topics and introduce you to a new programming paradigm. In addition, we explore C++ and look at how it implements object-oriented concepts behind the scenes.
As part of this chapter, we will cover the following topics:
- Firstly, we discuss the Abstraction. This continues our discussion regarding inheritance and polymorphism and will be the last topic that we cover as part of OOP in C. We show how abstraction helps us in designing object models that have the maximum extendibility and the minimum dependencies between its various components.
- We talk about how object-oriented concepts have been implemented in a famous C++ compiler,
g++
in this case. As part of this, we see that how close the approaches that we have discussed so far are in accordance with the approaches thatg++
has taken to provide the same concepts.
Let's start...