Sorting Algorithm Problem
Hi, I'm using the bubble sort sorting algorithm with floats. It works correctly.
However i now need to include infinity, and minus infinity, and NaNs in the program.
How would i get the user to enter infinity and minus infinity, or NaN, i think i need to use the 'climits' library but I'm not sure how to use it.
Thanks
Measure Algorithm Running Time
Hi, i've mostly got it working.
I want to measure the time for how long the program takes to execute and sort a number of elements, what would be the easiest way to do this?.
Thanks