Introduction into Object-Oriented Programming with C++

A prerequesite for this tutorial is the knowledge of the Object Related Programming. This tutorial should introduce virtual functions, pure virtual functions and derived classes. We create an interface for C++ STL containers. As this tutorial should introduce the object oriented paradigm we will not implement the member functions for the STL containers. Only placeholders are used in order to keep the focus on the paradigm and not on the algorithm implementations.

Ingredients

In this lesson the following data are required:

source code demo file: main.cpp
source code class demo header file: container.hh
source code class demo file: container.cpp

Tasks

Hints