hi,
i have a crucial issue: I have to sort a array of structures basing on one of the element, however the problem here is i have to sort it based on strings in the feild. like for example we have a struct called:
struct arr { char a[10];
char b[10];
int a; } a
here a is the key. Say we have arr[10] (ten elements of struct types in array).
now I have a criteria to sort this array bassing on element a which can only stored by a global array. How to go for it. someone please help me.
regards,
Geet