C++ Program to Find Perfect Number

Posted by Editorial Staff | Updated on | in C++ Tutorial.


In this program, we are going to share how to find a perfect number using C++ programming language. If you are a beginner and want to start learning the c++ programming, then keep your close …

C++ Program to Get The List of Files From Given Directory

Posted by Prem Tiwari | Updated on | in C++ Tutorial.


Today, I am going to write a c++ program which will print the list of files from the given directory. I have used the opendir() function to open the given directory and readdir() function to …

C++ Program to Display Factors of a Number

Posted by Prem Tiwari | Updated on | in C++ Tutorial.


We assume you have a basic knowledge of c++ programming language, c++ loop, and C++ if, if…else and Nested if…else. In the below program we execute the for loop and if statement to get the …