August 2020
Beginner to intermediate
653 pages
16h 55m
English
Nearly every name in the standard library begins with std::, and only names in the standard library are permitted to start with std::. For your own names, you can define other prefixes, which is a good idea and an excellent way to avoid name collisions. Libraries and large programsf in particular benefit from proper partitioning and naming. However, templates and names have some complications, and this Exploration helps clarify the issues.
The name std is an example of a namespace, which is a C++ term for a named scope. A namespace is a way to keep names organized. When you see a name ...