class Book
{
int BNo;
char BName[80];
char BAuth[80];
unsigned int Bcop;
public:
void BInput()
{
cout<<"Book Number: ";cin>>Bno;//Error 1
cout<<"Book Name: ";gets(Bname);
cout<<"Book Author: ";gets(BAuth);
}
void BDisp()
{
cout<<"Book Number: "<<Bno<<endl;
cout<<"Book Name: ";puts(Bname);
cout<<"Book Author: ";puts(BAuth);
}
int BGet_Bno() {return Bno;}
char* BGet_BName() {return &BName;}//Error 2
char* BGet_BAuth() {return &BAuth;}
};



Upon compilation, I am getting multiple errors as:
Error 1:Undefine Symbol Bno
Error 2: Cannot convert char[80] * to char *

Please help me out!!