Encapsulation in C++. It indicates the process of wrapping up the data and functions in a single capsule. It also safeguards the data from other classes by limiting access. Primarily it protects the data. If we take a real-world example of the university, we have different departments like Physics, Chemistry, Biology, etc. A situation may […]
Category: C++ Programming
Sorting in C++ Programming language
In this tutorial, you will learn all about Sorting in the C++ programming language. Sorting is one of the usual functions for data. It means managing the data in an accurate manner, which can be increasing or decreasing. There is a built-in function in C++ STL (standard template library) by the name of a sort(). […]
Types of Inheritance in C++
In this tutorial, you will learn the Types of Inheritance in C++. The ability of a class to derive attributes and properties from another class is called Inheritance. Inheritance is one of the most essential features of Object-Oriented Programming. There are essentially five different types of inheritance that can be used in C++ which are […]
Arrays in C++ Programming language
In this tutorial, you will learn all about Arrays in C++ Programming language. An array is a set of similar items in adjacent memory locations. In C++ programming, sometimes a single variable is not sufficient to carry all the data. For example, let’s say we want to store the marks of 800 students, having 800 […]
Function Overloading in C++
In this tutorial, you will learn all about Function Overloading in the C++ programming language. C++ programming has awesome features and one of the most powerful features is function overloading. It means a code holding more than one function with the same signature but with complex argument lists. The argument list indicates the flow of […]
Function Overriding in C++
In this tutorial, you will learn all about Function Overriding in the C++ programming language. Function overriding is a feature that provides us to have the same function in the child class which is already being in the parent class. A child class obtains the member functions and data member of the parent class, but […]
Destructor in C++ Language
In this tutorial, you learn about Destructor in C++ programming language. As we know, C++ is an Object-Oriented programming language. It is generally used in IT trades to evolve software, embedded firmware, drivers, and client-server applications. C++ is a middle-level programming language that has to encapsulate an aspect of both high-level and low-level programming languages. […]
Constructor in C++ language
In this tutorial, you will learn constructors in the C++ language with their examples. Constructor in C++ language The constructor may be set a proper kind of purpose that has the name same as that of the class. The constructor gets requested right later the object is initialized and is not needed to call the […]
C++ Classes and Objects with Example
In this tutorial, you will learn C++ classes and objects with examples. C++ Classes The classes are the most valuable point of C++ which begins with Object-Oriented programming. A collection of objects with the same function and properties. A class is used to set the properties of the objects. It is used as a model […]
C++ Iterators Implementation with example
In this tutorial, you will learn the implementation of the C++ iterators with an example. An iterator is an object that shows an element inside the container. You can use iterators to pass through the contents of the container. They can be view something similar to a pointer passing to some location. You can access […]