Skip to content

Category Archives: C++

In this article, the various functions of the const keyword which is found in C++ are discussed. Whenever const keyword is attached with any method(),… Read More
In this article, the task is to implement an ATM with functions like add, delete, search, and update users using file handling in C++.  … Read More
In this article, we will discuss structures, unions, and enumerations and their differences. The structure is a user-defined data type that is available in C++. … Read More
In this article, we will discuss how to write over an image using OpenCV C++. Function putText() from OpenCV C++ library will be used to… Read More
The function midpoint() computes the midpoint of the integers, floating-points, or pointers a and b. Header File: <numeric> Parameters: This function accepts two data types… Read More
There are many executors available to implement CI/CD with GitLab Runner. However, Shell and Docker are more popular among them, and we can easily configure… Read More
In this article, we will discuss Deprecated attribute in C++14. Deprecated means the use of the name or entity declared with this attribute is allowed… Read More
In this article, we will discuss Binary literals in C++14. While writing programs which involve mathematical evaluations or various types of number, we usually like… Read More
In this article, we will discuss Return Type Deduction in C++14. Using an auto return type in C++14, the compiler will attempt to deduce the… Read More
While programming in C++ we often use a class multiple times, and hence it requires to create a header file and just include it in… Read More
In this article, we will be discussing starts_with() and ends_with() with examples in C++20. starts_with() This function efficiently checks if a string begins with the… Read More
In C++ programming, the default background of the output screen is black and the text color is the white color, the task is to color… Read More
The cin object in C++ is used to accept the input from the standard input device i.e., keyboard. it is the instance of the class… Read More
In this article, we will discuss how to draw a line using OpenCV in C++. The idea is to use the line() function from OpenCV… Read More
Line Control Directive: Whenever a program is compiled, there are chances of occurrence of some error in the program. Whenever the compiler identifies an error… Read More