I am trying to write a program that will generate 7000 random integers, then sort them into an optimized bulbblesort and also a un-optimized sort for fun.I could post what i have started but it is not much at all. The final thing I would like to try is to write a timer or counter that will tell me what the times were for each sort and compare which one was done faster (should be optimized). \even if I could get the oprtimized with a timer going i could definetly figute out the unoptimized. Confusing to me......or you yet?
I need some help on this one big time. This is not homework but a chapter in a book i am reading that offers no solid explanations or help. Is more of a excersices with no real examples to help learn. THE BOOK SUCKS !!!!
any ideas, sample codes, or snippets would be useful.
Thanks to everyone that can help ....
william_loney