Error 1 error C2440: '=' : cannot convert from 'const char [2]' to 'char'
bool word(char *Filename){
int r,number,length;
ifstream file;
file.open(Filename);
file>>number;
srand ( (unsigned)time ( NULL ) );
r=rand() % number+1;
string input,word;
for(int i=0; i<r; i++) getline(file,input);
length=input.length();
for(int l=0;l<length;l++)word[l]="_";
cout<<input<<endl<<word<<endl;;
return true;
}