I need to bubble sort an array that holds details of a magazine, ie name, publisher, cost etc. after the user has entered them in. I have to sort these by name.
I've been told mabye to use the following:
strcmp(string1, string2)
}
/*void swapmags(mag&1, mag&2)
{
mag temp;
temp.name = a.name;
but I don't know how to get this working properly?
Cheers