C++ program to display a digits position according to available 1’s in its equivalent binary Number

C++ program to display a digits position according to available 1’s in its equivalent binary Number. ie if a user input any non negative integer number from the keyboard, We have to show the position of that number. Example Suppose user entered 17 from the keyboard then the total number of 1 digits available in […]

C++ program to print file contents in reverse order

C++ program to print the contents of any text file in reverse order. This program print the reverse of each and every word available in that text file. This program was developed in Windows 10 using Dev C++ IDE. Here is the source code. /* program to display the contents of any text file in […]

C++ / C Program to show files and Folders recursively

C++ / C program to show files and folders of any given folder recursively ie this will fetch all the folder inside another folder and then files and show all of them one by one on the screen. This C++ program is a part of the same compression utility, another programs of the same compression […]

C++ Program to convert single line comment into multi-line comment

While developing compression utility, we come across such a weired issues while converting .php extension file as php can be started at any position and have some really tough task for us to compress. To overcome that issue, we decided to convert single line comment into multi-line comments and then remove all the comments from […]

C++ Program to copy Image files using C++ File handling – Non Text Files

C++ program to copy image files using C++ file handling. The first temptation was to open non Text File in binary mode and read one byte at a time from the source file and write the same at the destination. BUT this is not working with Image file and others as something is missing in […]

CPP program to compress text file

CPP program to compress text file using C++ file handling. This is the third program in the series of compression utility that we are trying to build. Other programs that we have already covered in this series are Remove multi-line comments from any text file ( C/C++ style comments ) Remove single line comments from […]