C++ Templates

A template is a blueprint or formula for creating a generic class or a function. In other words, templates are codes written in a way that is independent of any particular type. 

Continue reading


C++ Data Conversion

Data conversion in C++ includes conversions between basic types and user-defined types, and conversions between different user-defined types.

Continue reading


C++ Operator Overloading

Operator Overloading is generalization of function overloading. It increases the readability of our code. Further, it is straightforward and natural way to extend C++.

Continue reading


C++ Arrays

An array is a group of like-typed variables that are referred to by a common name. Array of any type can be created and may have one or more dimensions. Arrays offer a convenient means of grouping related information.

Continue reading


C++ Constructors and Destructors

C++ allows objects to initialize themselves when they are created. This automatic initialization is performed through the use of a constructor. This fulfills the requirement for initialization of object upon creation.

Continue reading


C++ Class and Object

A class is a template for an object, and an object is an instance of a class. Once a class is defined, this new type can be used to create objects of that type. The class is at the core of C++.

Continue reading