C++ File handling Program list

File handling in C++ Programs

C++ file handling program that we have covered in this site are as follow. If you want to read the basic Tutorial on File handling  or assignments then follow these two links File handling in C++ – Tutorial in PDf format File Handling in C++ – Assignment in PDF Format C++ File handling Programs C++ […]

C++/C Program to create backup of any Text File using file Handling

C++ program to create backup of any text file using File handling in C++. The program simply open your text file  in text mode and open another file as your backup file. Read one character from the file stream and check if it is not the end of file then write this character into other […]

C++ program to show binary file operations using classes and Object

binary file operation

C++ program to show binary file operation using classes and Objects and perform Addition, Deletion, Modification, searching, Display of records. /* Program to write student record using class and binary files made by : rakesh kumar */ #include #include #include using namespace std; class student{ private: int roll; char name[30]; char address[100]; public: void input(){ […]

C++ program to print file contents in reverse order

C++ program to print reverse of file content

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++ program to show files and folder

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

C++ Program image

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 […]