How does this do what it does (C++ classes, use of colon)

why do you think there are "derived classes"?