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++ to Print Scale Up character Pattern

C++/C program to print scale up pattern on the screen. /* Program to scale up made by : rakesh kumar */ #include using namespace std; int main() { int m,n,k; int i,j,l,a; cout<<“\n Enter value of m,n,k :”; cin>>m>>n>>k; char str[m][1000]; for(int i=0;i<m;i++) { fflush(stdin); cin.getline(str[i],1000); } // display the scale up output for(i=0;i<n;i++) { […]

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