hi im getting a starnge error in my search functions
heres the function
Code:
void store::findE(void)
{
int i = 0;
bool sCompare = false;
char fName[20];
cout << "please enter the name of the person you wish to find their email address : ";
gets(fName);
for(i = 0; i < Voters; i++)
{
if(!strcmp(np[i].name, fName))
{
cout << "Eurkia \n" << np[i].name <<"\n" << np[i].email ;
sCompare = true;
}
}
if(sCompare == false)
{
cout << "Sorry record not found.";
}
}
the error sayes " no 'void store::findE()' member function decleared in class store"
the programs "main" section also cant find this function
any help would be very mush appreciated