Skip to content

Category Archives: C++

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
C++ is a general-purpose programming language and widely used nowadays for competitive programming. It has imperative, object-oriented, and generic programming features. C++ runs on lots… Read More
Prerequisite: File Handling through C++ Classes In C++, files are mainly dealt by using three classes fstream, ifstream, ofstream available in fstream header file. In… Read More
In general, creating a copy of an object means to create an exact replica of the object having the same literal value, data type, and… Read More
Prerequisite: Templates in C++ Generally, a C++ template, with a single argument looks like this: template<typename template_name> But it has been seen that a template… Read More
Just like other subroutines, overloaded subroutines are also called. To decide which function to invoke it is important to determine the number and type of… Read More
In this article, we will discuss some use cases of Mouse Programming: Restrict mouse pointer: The mouse pointer can be restricted in particular rectangle. The… Read More
In this article, we will discuss some use cases of Mouse Programming: Display Mouse Pointer in graphics mode: For displaying the Mouse Pointer, first enable… Read More
Till now we have seen only static output on the black window in C/C++ without any peripheral device interaction(like mouse). Here static means that interaction… Read More
Prerequisite: Operator Overloading in C++, Types of Operator Overloading When an object calls an operator function by passing an argument and the returned value of… Read More
In this article, we will discuss the short int data type in C++. This data type in C++ is used to store 16-bit integers. Some… Read More
In this article, we will discuss the unsigned short int data type in C++. It is the smallest (16 bit) integer data type in C++. … Read More
–> is called as “Goes to” in C/ C++ and compiles fine in every compiler including GCC and MSVN. This operator (–>) is not described… Read More
OpenCV is the Real-Time Computer Vision library which provides various real-time computer vision, video capturing, image processing, and machine learning functionalities. Using OpenCV with Visual… Read More
Choosing the appropriate language while starting competitive programming is the most important factor. Generally, we choose that language that has short syntax and executes very… Read More