Posts

complete example creating , updating and deleting a text file in C++

Hello From IQBAL , guys, we often come across situations to store little data in .txt file. in the code below i have covered:  creating txt file to store records of employees showing records from the file(reading file) updating salary of the employee(updating specific text in the file) deleting old file when program runs. An Employee Class with needed Methods your comments and suggestions are welcomed #include <iostream> #include <string> #include <fstream> #include <streambuf> #include <bits/stdc++.h>  using namespace std; class Employee{ public:   void add(string code,string name,int salary) {   cout<<"Employee: "<<name<<" with Salary :"<<salary<<" Addedd."; ofstream file;   file.open ("employee.txt",std::ios_base::app);   file <<code<<","<<name<<","<<salary<<";";   ...

printing Alphabets in a shape like diamond inside a square using C++

Image
Hello From IQBAL ! guys, after tiresome work i have produced the following code to print alphabets like below:   Below is the source code, feel free to comment your suggestions and corrections. #include <iostream> using namespace std; int main(void){     int a= 65;     char height = 'G'; // can get this as input via cin>>     int endchar = (int) height;     int rows, c, k;          rows =endchar-a-1; int steps = rows;     for (k=1; k<=rows+1; k++)     {      for(c=0; c<=steps; c++)     {     cout<<((char)(65+c));     }         for(c=1; c<=(2*k-2); c++)     {     cout<<" ";     }     if(k==1){         for(c=1; c<=rows; c++) {     cout<<((char)(endchar-c-1));     } ...

how to register latest Wondershare Filmora (version 9.2.1.10 ) with cracked email

Image
(please leave a comment below when you try this tutorial) Click here to  Wa tch Video Tutorial on Youtube hi there,  i was trying to get a working crack for the latest version of Filmora .i.e  but non of the crack( email and key) worked as a lot of combinations  were already  banned by new version of Filmora.  how ever after a full two days struggle i came across a result which worked totally fine.lets us see what i did: Step 1: I first installed Filmora as shown above using the official installer ( it is downloaded form online store and is about 600 MB in size) Step 2:  i was looking for crack email and serial key but none worked as they were to be verified online( and was not proceeding when i turned off wifi) so i was in vain. Step 3:    i searched for an old version .i.e 7.3.2,  found its full offline installer so downloaded it form this link :    https://gofile.io/?c=Hpe0fq install this downloa...