For example, if I static link to freeglut, does the compiler include everything from freeglut or only the parts that I use? Of course, this implies that the linker (or compi
I think you can write a sample lib to get the answer.
In a C++ lib,
1 write a class to print all the subclass name.
2 and several class derived from it.
In a real main program, just use one of the sub-classes.