no joy with that, caused heaps more errors, can I mail the code, I cannot post it I'm afraid.
thanks for the help
Type: Posts; User: Bada Bing
no joy with that, caused heaps more errors, can I mail the code, I cannot post it I'm afraid.
thanks for the help
Whats wrong?
void sort()
{
int z, i;
for(i = 1; i <= z - 1; i++)
{
int x = i;
while((j > 0) && (array[x] < array[x - 1]))
I've got an array and I want to read in details from the user, and send that to = array element 1 and next entry = element 2 etc
thanks
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...