example...
struct tele2_struct{
fname[30];
lname[30];
whatever[70];
}db[750];
int search_array(struct tele2_struct, char parm_searchvar);
then in main() I have something similiar like...
found_record = search_array(db, searchvar);
I basically want to pass a array which contains various info and what they are searching for which is stored in searchvar.. but I get a error @ found_record which says...
conversion from `tele2_struct*' to non-scalar type `
tele2_struct' requested
and I'm lookin at examples here and there..but I cannot find one similiar to mine... stumped by something simple which I cannot figure out.