help me understanding virtual functions in c++.
please reply with some examples
What you are asking is a chapter or two in a book. Try Bruce Eckel's "Thinking in C++". It is an online book you can download from mindview.net and is fairly detailed and understandable.
Comment