Posts from C++

Find the second highest number in an integer array in C++

By Yash Shakya

This program is able to find the second highest number in an integer array in C++ by using some suitable conditions. This is a question based on array and it utilizes conditional s.... Read More

How to fetch a random line from a text file in C++

By Ranjeet V

In this tutorial, we are going to learn how to fetch a random line from a text file in C++. This is very easy to do. We have to find a random number using rand() function and get a.... Read More

Password strength checker in C++

By Ranjeet V

In this tutorial, we will learn how to create a password strength checker in C++. We need our users to create a strong password so that their data is more secure. A strong password.... Read More

How to generate a random color code in C++

By Ranjeet V

In this tutorial, we will learn how to generate a random color code in C++ for RGB and HEX values. We can do this by generating a random number using the rand() function and using .... Read More

Find the smallest and largest number in an array in C++

By Yash Shakya

This is a C++ program to find the smallest and largest number in a given array. It uses a simple comparison method that is applicable in any program. This method uses two variables.... Read More

Find a number not present in second array from given two arrays in C++

By Yash Shakya

This C++ program is able to find which number is not present in the second array from given two arrays by comparing them. This is a question based on array and it utilizes a very b.... Read More

How to generate random hexadecimal strings in C++

By Ranjeet V

In this tutorial, we are going to learn how to generate random hexadecimal strings in C++. Generating a hexadecimal number can be done using the rand() function of C++, which gener.... Read More

Expression evaluation in C++

By Ranjeet V

In this tutorial, we are going to learn the evaluation of an expression in C++. An expression can have operands and operators. In C++, the order of operands and operators is very i.... Read More

Related Posts