Skip to content

Category Archives: C++ Programs

In this article, we’ll see how to discretize an Ellipse (or a circle) into a polygon. Since a circle is just a specific case of… Read More
CC BY-SA 4.0, Link The Julia set is associated with those points z = x + iy on the complex plane for which the series… Read More
Given a number N, the task is to find two composite numbers X and Y, such that difference between them is equal to N. Note… Read More
Fractals A Fractal is a never-ending pattern. Fractals are infinitely complex patterns that are self-similar across different scales. They are created by repeating a simple… Read More
In Layman’s terms, Fractals are beautiful patterns brought into existence upon the intertwining of computation and mathematics. To get a bit technical they are recursive… Read More
The article explains how to store the reverse of the first text file’s data to a second text file. In this post, it has been… Read More
A structure is a user-defined data type in C/C++. A structure creates a data type that can be used to group items of possibly different… Read More
Given a Binary Tree rooted at node 1, the task is to print the elements in the following defined order.  First, print all elements of… Read More
The task is to write a program to print Hello World without using main() and semicolon. As we already know how to print Hello World… Read More
Given an array of infinite length and two integers M and N which are co-primes, the task is to find the number of positions that… Read More
Given a sequence arr of N positive integers, the task is to find the length of the longest subsequence such that xor of adjacent integers… Read More
Given N number of sticks of varying lengths in an array arr, the task is to determine the sum of the count of sticks that… Read More
This article explains how to delete the content of a Binary File. Given a binary file that contains the records of students, the task is… Read More
Given an input string which is comma-separated instead of space, the task is to parse this input string in C++.First, let us understand what difference… Read More
Given a comma-separated string, the task is to parse this string and separate the words in C++.Examples:   Input: "1,2,3,4,5" Output: 1 2 3 4 5… Read More

Start Your Coding Journey Now!