Skip to content

Category Archives: C++ Programs

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
In this article, we will discuss the long long int data type in C++. long long int data type in C++ is used to store… Read More
The C++ program is written using a specific template structure. The structure of the program written in C++ language is as follows: Documentation Section: This… Read More
The strtok() function is used in tokenizing a string based on a delimiter. It is present in the header file “string.h” and returns a pointer… Read More
Maps are associative containers that store elements in a specific order. It stores elements in a combination of key values and mapped values. Syntax: map<data… Read More
Online shopping is all about calculating the total amount for the items selected by the customer. In this article, we will discuss a menu-driven C++… Read More
Given an array arr[] of size N and an integer K, the task is to find all the array elements that appear more than (N… Read More
Given a binary string S, the task is to write a program for DFA Machine that accepts a set of all strings over w ∈… Read More
In this article, we will discuss the int data type in C++. It is used to store a 32-bit integer.  Some properties of the int… Read More

Start Your Coding Journey Now!