Error recovery is a fundamental concern for every program you write, and it’s especially important in C++, in which one of the goals is to create program components for others to use. To create a robust system, each component must be robust.The goals for exception handling in C++ are to simplify the creation of large, […]
Container classes are the solution to a specific kind of code reuse problem. They are building blocks used to create object-oriented programs’ they make the internals of a program much easier to construct.
Example of a program with a little information?hiding contained in it.
Runtime type identification (RTTI) lets you find the dynamic type of an object when you have only a pointer or a reference to the base type.