cpp.cpp: virtual inheritance added