Adapter design pattern program in C++

Write a C++ Program demonstrating the working of the Adapter design pattern

adapter Design pattern
adapter Design pattern

What is the wrapped class in adapter?

The wrapped class is also known as the adaptee class and the client code wants to use it but the client is unable to use it due to an incompatible interface.

The adapter adapts this wrapped class by providing a compatible interface that the client code can use to access the wrapped class.