Category Archives: C++

The expression must have class type is an error that is thrown when the dot(.) operator is used to access an object’s prpperties, is used… Read More
#include in C/C++: In the case of C language, #include is a standard or user-defined file in a program that tells the preprocessor to insert… Read More
It is quite common that errors may occur while reading data from a file in C++ or writing data to a file. For example, an… Read More
In this article, we will discuss to open an image using OpenCV (Open Source Computer Vision) in C++. Unlike python, any additional libraries in C++… Read More
Fall through is a type of error that occurs in various programming languages like C, C++, Java, Dart …etc. It occurs in switch-case statements where… Read More
Jump statements are used to manipulate the flow of the program if some conditions are met. It is used to terminating or continues the loop… Read More
In this article, we will discuss the difference between the Insertion sort and the Selection sort: Insertion sort is a simple sorting algorithm that works… Read More
Syntax: It refers to the rules and regulations for writing any statement in a programming language like C/C++. It does not have to do anything… Read More
In this article, we will discuss the Dynamic initialization of objects using Dynamic Constructors. Dynamic initialization of object refers to initializing the objects at a… Read More
In this article, we will discuss the use of a digit separator in C++. Sometimes, it becomes difficult to read numbers that contain many digits.… Read More
In this article, we will discuss the signed char data type in C++. Some properties of the signed char data type are: It is generally… Read More
The Return statement in C/C++: C and C++ support return statements which are also called jump statements. It is used to return a value from… Read More
Preprocessor Directives are programs that process our source code before compilation. There are a number of steps involved between writing a program and executing a… Read More
While solving problems on any online judge sometimes it might get Time Limit Exceeded. Below are some of the ways to optimize the code: Minimize… Read More
C++ has a tradition of introducing new improvements and features in every 3 years in the form of a standard. With the last standard having… Read More