what's the description of this program?? anyone who help me? because this is my project. #include #include #include #include using namespace std; class account {int acno; char name[50]; int deposit; public: void create_account(); void show_account() const; void modify(); void report(); int retacno() const; char rettype() const;}; void account::create_account() { system("CLS"); cout >acno; cout >deposit; cout >deposit;} void account::report() { cout >ch; switch(ch) { case '1': write_account(); break; case '5': display_all(); break; case '6': system("CLS"); cout >num; delete_account(num); break; case '7': system("CLS"); cout >num; modify_account(num); break; case '8': system("CLS"); cout (&ac), sizeof(account)); outFile.close(); } void display_sp(int n) { account ac; bool flag=false; ifstream inFile; inFile.open("account.dat",ios::binary); if(!inFile) { cout (&ac), sizeof(account))) { if(ac.retacno()==n) { ac.show_account(); flag=true; } } inFile.close(); if(flag==false) cout (&ac), sizeof(account)); if(ac.retacno()==n) { ac.show_account(); cout (sizeof(account)); File.seekp(pos,ios::cur); //fncallat1353 File.write(reinterpret_cast (&ac), sizeof(account)); cout (&ac), sizeof(account))) { if(ac.retacno()!=n) { outFile.write(reinterpret_cast (&ac), sizeof(account)); } } inFile.close(); outFile.close(); remove("account.dat"); rename("Temp.dat","account.dat"); cout (&ac), sizeof(account))) { ac.report();} inFile.close();}
Answers
Answered by
1
Answer:
meena mondal Gauri Mondal Roll no 49,41
Answered by
13
What's description of this programe ?
Deleted.
★ FOR MORE INFORMATION :- ★
Delete.
- To remove something.
★ SENTENCES:-★
- I REMOVE SCIENCE NOTEBOOK GROM MY BAG.
- I DELETE MY SOME PICTURES.
- I WILL DELETE THIS LATER.
- I CAN'T DELETE IT SORRY.
- I WILL DELETE YOUR NAME FRO MY FRIENDS.
- I WILL DELETE YOU FROM THAT GROUP.
- I DELETE MY COPIED MESSAGE.
Similar questions
Environmental Sciences,
4 months ago
Physics,
4 months ago
Math,
8 months ago
English,
8 months ago
Economy,
11 months ago