Have you tried removing the declaration of swap that is within the bubbleSort function and moving the swap definition to the top of the file?
Do you get compile errors or runtime errors?
Which compile errors?
|
Results 1 to 2 of 2
Threaded View
|
Click Here to Expand Forum to Full Width |