accesing pointer structures
i am trying to search for a string in a structure allocated for 100 clients, just get confused on how to access variables in ptr structure for example
i think i allocated memory for 100 clients, now lets say i wanted to search for a string in struct fac int a , how do you locate the whole record in the structure and print it???
struct res * r;
int main ()
struct fac data;
data= (struct fac *) malloc ( 4 * sizeof(struct fac))
any help would be appreciated for some reason i have no clue how to do this