Virtual methods & overriding in C++

A few months ago my friend asked me if I could explain a virtual methods in C++. How to use them, how to implement and why are these so important when programming? Today I am going to answer all of these questions. First of all, we use virtual methods during inheritance. We create a pointer of base … Continue reading Virtual methods & overriding in C++