I have cpp program, for that I need to use virtual base class. But, it isn\'t working properly. I am using virtual to resolve the diamond problem, but, it\'s not working.