Category C++

C++ Projects with Source Code

C++ Projects with Source Code

To learn a new programming language, you need to work on some projects. Working on projects helps you to understand how to solve a problem in real time. So if you are a beginner in the C++ programming language and…

Best Books to Learn C++

Best Books to Learn C++

C++ is one of the most used programming languages in the industry. It is used in building operating systems, games, IoT devices, databases, web browsers, machine learning frameworks, and many more. Learning a programming language using books is always a…

Count Character Occurrences using C++

Count Character Occurrences using C++

Counting the occurrences of a character means finding the frequency of a letter or a special symbol in a piece of text. It is an important question for any kind of coding interview. So if you want to learn how…

Check Palindrome Numbers using C++

Check Palindrome Numbers using C++

A palindromic number is a number that remains the same even when its digits are reversed. For example, 121, 99, 101 are palindromic numbers. If you want to learn how to check whether a number is a palindrome or not…

C++ Program to Find Quotient and Remainder

C++ Program to Find Quotient and Remainder

The quotient is the number you get by dividing two numbers, and the remainder is the value that remains after dividing two numbers even though you have the quotient. In computer science, we use “/” to find the quotient and “%” to find the…

C++ Program to Find LCM

C++ Program to Find LCM

LCM stands for Least Common Multiple, which means to find the smallest number that is a multiple of two or more numbers. If you want to learn, how to find the LCM of two numbers by using the C++ programming…

Split First Name and Last Name using C++

Split First Name and Last Name using C++

Splitting your first name and last name from your full name is one of the real-time problems that you can get as a question in any coding interview. It is not a difficult question to solve at all. So if…

Coding Projects for Resume

Coding Projects for Resume

There are so many business problems where a company needs good coders to solve their problems with their coding skills. To identify whether someone is a good coder or not, your projects are the only work that can show your…

C++ Program to Find Number of Letters

C++ Program to Find Number of Letters

Finding the number of letters in a text means finding the length of the string. Although C++ has a built-in function for finding the length of a text, it may not help you in coding interviews if you are asked…

Sort Letters using C++

Sort Letters using C++

Sorting the letters of a word is one of the popular use cases for sorting algorithms. Here you will be given a word, or you will have to take a word as user input and sort all the letters of…

C++ Program to Find Factors of a Number

C++ Program to Find Factors of a Number

When we divide a number with any number and get zero as the remainder, the divisor is the factor of the dividend. Most numbers have an even number of factors and a square number has an odd number of factors.…

C++ Program to Find Armstrong Numbers

C++ Program to Find Armstrong Numbers

An Armstrong number is a number where the sum of individual numbers in the power of the number of digits in a number equals the number itself. It is one of the popular coding questions to find the Armstrong numbers…

Simple Calculator using C++

Simple Calculator using C++

Creating a Simple Calculator is a very popular program among the coding community. It can help you learn how to choose an option from various arithmetic operations that you want to perform among two or more values. If you want…

Age Calculator using C++

Age Calculator using C++

Age Calculator is one of the amazing coding project ideas that you should try with every new programming language you learn. It is an application where a user enters his date of birth and this application gives his age as…

C++ Programs

C++ Programs

To properly learn a new programming language, your first step should be to understand the syntax by learning its fundamentals. After you’ve learned the basics, your next step should be to create as many programs as possible. So if you…

C++ Program to Calculate Grades

C++ Program to Calculate Grades

Writing a program to calculate a student’s grades is one of the questions one always gets in school as a computer science student. If you are new to coding, solving these questions must be difficult for you. So, in this…

C++ Program to Find the Greatest Number

C++ Program to Find the Greatest Number

To find the greatest number among a group of numbers, we can use the relational operators. Using the relational operators, we can compare the values of the variables with each other and find the largest number among all the variables.…

C++ Program to Find ASCII Value

C++ Program to Find ASCII Value

ASCII stands for American Standard Code for Information Interchange. This is a character encoding standard for electronic communications. If you want to learn how to write a program to find the ASCII value of a character, this article is for…

Reverse a Number using C++

Reverse a Number using C++

Reversing the order of a number is one of the important questions you can be asked in any coding interview. So, if you want to learn how to reverse the order of digits of a number using the C++ programming…

Fahrenheit to Celsius using C++

Fahrenheit to Celsius using C++

Fahrenheit and Celsius are units of measurement for temperature. Most countries use the Celsius scale as the official unit of measurement for temperature, only a few countries prefer the Fahrenheit scale. So, if you want to learn how to convert…

Swap Variables using C++

Swap Variables using C++

When swapping variables, we need to exchange the values of the variables with each other. If you are new to the C++ programming language, you must be finding it difficult to swap the values of variables between them. If that’s…

Square Root using C++

Square Root using C++

A square root of a number n is a number which, when multiplied by itself, gives n as an output. Let’s say 2×2 = 4, according to this example, 2 is the square root of 4. So if you want…

Types of Algorithms

Types of Algorithms

The sequence of steps we need to take to solve a particular problem is known as an algorithm. There are so many algorithms in computer science that fall under the categories of different types of algorithms. So, if you want…

Career Opportunities with C++

Career Opportunities with C++

C++ is not a pure object-oriented programming language but an upgrade to the C programming language that contains the functionality of C with some more upgrades. We can use C++ for creating universally usable applications, programming hardware, creating operating systems,…

Defang IP Address using Python

Defang IP Address using Python

A user’s IP address is defanged to prevent the user from clicking on a malicious link. The problem with Defanginig IP addresses is one of the common coding interview questions for someone who is planning data science. In this article,…

What is Algorithm?

What is Algorithm?

The sequence of steps we take to achieve the desired task is known as an algorithm. In programming, when we create and execute a plan by writing codes to solve a problem, those plans are nothing more than an algorithm.…

Binary Trees using C++

Binary Trees using C++

A binary tree is a general and powerful data structure that looks like a real tree. It contains nodes in a connected graph where each node has a parent node and a child node in a specific order. In this…

FizzBuzz Algorithm using C++ and Python

FizzBuzz Algorithm using C++ and Python

The FizzBuzz algorithm is one of the favourite questions in coding interviews. Fizz and Buzz refer to any number that is a multiple of 3 and 5. In this article, I will walk you through how to implement the FizzBuzz…

Count Sort using C++

Count Sort using C++

The time complexity of count sort is better than the other sorting techniques. In this article, I will take you through the implementation of the Count Sort using C++ programming language. Count Sorting The count sort algorithm works by finding…

N Queens with C++

N Queens with C++

The N Queens problem is based on backtracking algorithms. This is a popular classic problem where the queen’s numbers had to be placed on an n x n matrix in such a way that no queen can attack another queen.…

C++ Program to Generate Random Numbers

C++ Program to Generate Random Numbers

In this article, I will take you through a C++ program to generate random numbers. C++ Program to Generate Random Numbers Random Numbers 55 Three random numbers :218 9057 20727 Understanding The Above Code: You can also write functions that…

Strings in C++

Strings in C++

One of the most useful data types provided in C++ libraries is a string. In this article, I will introduce you to the concept of strings in C++ programming language. Introduction to Strings in C++ Strings are variables that store…

Two Dimensional Arrays in C++

Two Dimensional Arrays in C++

In this article, I will take you through 2D or Two Dimensional arrays in C++ programming language. Before learning about 2D arrays you can learn about arrays from here. Introduction to Two Dimensional Arrays The arrays you are generally familiar…

C++ Practice Questions for Beginners with Solutions

C++ Practice Questions for Beginners with Solutions

In this article, I will take you through some very important C++ practice questions for beginners with their solutions. Here I will cover some most important programs like prime numbers, reversing a number and Armstrong numbers. C++ Practice Questions for…

Bitwise Operators in C++ Programming Language

Bitwise Operators in C++ Programming Language

Bitwise operators are operators that operate on integers and units at the binary level. This means that they are looking directly at binary digits or bits of an integer. It all sounds scary, but in truth, bitwise operators are quite…