when you program a class A and then make a class B that extends class A, then why wouldn’t you want all the functions in class A to be virtual?
when you program a class A and then make a class B that extends class A, then why wouldn’t you want all the functions in class A to be virtual?
This has what to do with OpenGL or even graphics exactly?
Consult the C++ FAQ Lite.