#include<bits/stdc++.h> #include<windows.h> using namespace std; int com,l,temp,te,t=0,f,k=0,p,day,month,year,day1,month1,year1,fi,gi,v,go=0,in=0,li[100]; string ch; ofstream outl; class book { protected: int id_book[1000],number_of_books[1000],d; string book_name[1000],author_name[1000]; public: void updatebook() { ofstream outfile; outfile.open("input00.dat",ios::app); outl.open("input5.dat"); cout<<"How Many Book You Want To Entry:"<<endl; cin>>d; for(int i=1; i<=d; i++) { cout<<"Enter book id number: "; cin>>id_book[i]; cin.ignore(); outfile<<id_book[i]<<endl; cout<<"Enter Books name: "; cin>>book_name[i]; cin.ignore(); outfile<<book_name[i]<<endl;