Added correct syntax for c++ inheritance.

[more] Minor indent correction at namespaces intro example