In class diagrams, a generalization relationship, which is also called an inheritance or an is-a relationship, implies that a specialized, child, class is based on a general, parent, class.
As the figure in the following table illustrates, a generalization relationship connector appears as a solid line with an unfilled arrowhead pointing from the specialized, child, C/C++ class to the general, parent, class. You can also visualize and design inheritance relationships between C/C++ classes.
C/C++ source code | UML visualization |