create post about c++ class hierarchies