C++: Const Functions
The Const member functions are used to prevent modifications of class data members within it. Likewise, the const parameters are used to prevent modification of …
A blog for all types of codes, and languages examples and algorithms.
The Const member functions are used to prevent modifications of class data members within it. Likewise, the const parameters are used to prevent modification of …
C++ templates are a powerful mechanism for code reuse, as they enable the programmer to write code that behaves the same for data of any type. Suppose …
Namespace is simply a declarative area. The purpose of a namespace is to localize names of identifiers to avoid name collisions. Elements declared in one …
RTTI stands for Run Time Type Identification. In an inheritance hierarchy, using RTTI we can find the exact type of the object using a pointer …
A Standard Template Library (STL) is a C++ library of container classes, algorithms, and iterators. It provides many of the basic algorithms and data structures.STL …