Browsing Category
C++
C++ is a general purpose programming language and widely used now a days for competitive programming. It has imperative, object-oriented and generic programming features. C++ runs on lots of platform like Windows, Linux, Unix, Mac etc.
For loop in C++ Program | C++ For Loop Example
For loop in C++ Program | C++ For Loop Example is today's topic. For understanding for loop, we must have prior knowledge of loops in C++. Loops are used when we want a particular piece of code to run multiple times. We use loops to execute…
C++ If-else Statements Example
If-else Statements in C++ Example Tutorial is today's topic. When we need to execute a particular block of code only when a condition is met, we use if-else statements. When we execute statements on conditions, we call it decision making in…
Multithreading In C++ Example | C++ Multithreading Tutorial
Multithreading In C++ Example Tutorial is today's topic. Multithreading is a type of model which at the time of execution allows multiple threads to exist within the context of the process such that they execute independently, but they…
Queues in C++ Example | C++ Standard Template Library
Queues in C++ Example | C++ Standard Template Library is today's topic. Queues are an abstract data structure which follows the FIFO algorithm, i.e. the data item which is put first in the queue will be accessed first. Queues are open at…
Multiple Multilevel and Hierarchical Inheritance in C++ Example
Multiple Multilevel and Hierarchical Inheritance in C++ Example is today's topic. Before getting started with Multiple, Multilevel, and Hierarchical inheritance, it is essential to understand inheritance. Inheritance allows properties of…
C++ Recursion Example | Recursion Program In C++ Tutorial
C++ Recursion Example | Recursion Program In C++ Tutorial is today's topic. When a function calls itself, it is known as recursion. The function which calls the function itself is known as a recursive function. The main aim of recursion is…
C++ Insertion Sort Example | Insertion Sort Program In C++
C++ Insertion Sort Example | Insertion Sort Program In C++ is today's topic. We are going to discuss insertion sort in C++, though this sorting technique is not that much efficient in comparison to other Sorting Algorithms like QuickSort,…
Polymorphism in C++ Example | C++ Polymorphism Tutorial
Polymorphism is one of the essential features of object-oriented programming that allows the class object to behave differently at different times. The word polymorphism is derived from a combination of greek word poly + morphs where poly…
C++ Heap Sort Example | Heap Sort Program In C++
C++ Heap Sort is a sorting method based on comparisons between the elements. The heapsort is a comparison based sorting technique based on a Binary Heap data structure. The sorting method works on the principle of binary heap data…
C++ Inline Functions Example | Inline Functions In C++
C++ Inline Functions Example | Inline Functions In C++ is today's topic. Inline functions are a great way to define small functions whose execution time is less than the time it takes to transit the control from the called function to the…
C++ Virtual Base Class Example Tutorial
C++ Virtual Base Class Example Tutorial is today's topic. Virtual base classes come in handy during multiple inheritance. During inheritance, it is quite common to receive multiple instances of a single base class via different routes which…