add Virtual Keyword in C++