Posts from C++

How to find product of given two matrices in C++

By Yash Shakya

In this program, we are going to find the product of given two matrices in C++ with some basic commands and nested loop. This problem is based on the application of array. The logi.... Read More

How to count the number of spaces in a string in C++

By Raj Gaurav

hello everyone, in the previous tutorial we learned how to count the number of lines in a text file in C++, in this tutorial we will learn about how to count the number of spaces .... Read More

How to create a CSV file in C++

By Pritam Hande

In this tutorial, we will learn how to create a CSV file in C++. What is a CSV file? It is a plain text file that stores data. Each row of this file contains data separated by a co.... Read More

Decimal to Octal conversion in C++

By snormy

This tutorial would help in learning the following: Conversion of numbers from decimal-system (using 0 to 9) to octal-system (using 0 to 7). Conversion of characters into their res.... Read More

Program to print the minimum steps to reach 0 in C++

By Anne Caroline Glory Prince

In this tutorial, we will learn how to print the minimum steps to reach 0 or zero in C++. The program accepts the number ‘N’ and any integer ‘K’. The  prog.... Read More

Digits – reverse pattern using C++

By Anne Caroline Glory Prince

In this tutorial, we will learn how to reverse the digits of the integer in reverse pattern using C++ program. The integer is obtained as input. It is put into an array and each di.... Read More

Find determinant of a matrix in C++

By Pritam Hande

In this tutorial, we will learn how to find the determinant of a matrix in C++. Determinant of a Matrix Determinant of a Matrix: is a special number that can be calculated from ele.... Read More

Relative Sorting Algorithm and Implementation in C++

By Pritam Hande

In this tutorial, we will learn the relative sorting algorithm and its implementation in C++. Relative Sorting Relative sorting algorithm: is a sorting algorithm in which we have t.... Read More