#include<iostream.h>
#include<string.h>
#include<iomanip.h>
class book
{
private:
static int n;
char author[30];
char title[30];
char number[30];
int stock;
int out;
char reader[30];
char id[30];
public:
book();
book(char a[],char b[],char c[],int d[],int e[],char f[],char g[]);
void setbook();
void outcom();
friend class group;
};
class group
{
private:
book *a;
int len;
public:
group(int s)
{
len=s;a=new book[len];book::book();
}
~group(){ delete []a;}
void add();
void del();
void find();
void get();
void back();
void inquire();
int menu();
};
int book::n=0;
book::book()
{
strcpy(author,"-");
strcpy(title,"-");
strcpy(number,"-");
strcpy(reader,"-");
strcpy(id,"-");
}
book::book(char a[],char b[],char c[],int d[],int e[],char f[],char g[])
{
strcpy(author,a);
strcpy(title,b);
strcpy(number,c);
strcpy(reader,f);
strcpy(id,g);