Your headers are incorrect. They should be like so.
Code:
#include<iostream>
#include<fstream>
#include<cstdlib>
#include<ctime>
#include<cstring>
#include<cctype>
#include<string>
The error you were asking about is concerning two names clashing in the constructor. If the parameter names match member names, you must either change the parameter names, or prefix the member names with "this->". Here is the corrected constructor in question.
Code:
bookobject(string nam, string author, string isbn, int num)
{
strcpy(name, nam.c_str());
strcpy(this->author, nam.c_str());
strcpy(this->isbn, nam.c_str());
number = num;
}