Introduction
C++ is an extensive language, and each feature or paradigm you come to learn about will require in-depth knowledge to unlock its full potential. C++ has two kinds of types: built-in types and class types. Built-in types are any types that make up the core of the language, such as int
, float
, and char
. Class types can be thought of as user-defined types; these are the types we create by declaring classes, structs, unions, and so on. Features and types from the C++ standard library (such as vectors and queues) are all class types built using C++, this shows the true power of the language and its ability to create types that feel as easy to use as the built-in types. Classes are the basis of object-oriented programming and covering them in more detail will help give you the required foundation to build upon. Having the ability to create robust types with solid interfaces is paramount to becoming a strong C++ programmer.
In Chapter 6, Dynamic Variables you learned about...