Create ex_withVirtual.cpp