If I was marking that code you would fail.
USE AN ARRAY for crying out loud!!!
Also, the sorting algorithm itself is fine, but you're not supposed to be sorting integers, you're supposed to be sorting structures.
If I was marking that code you would fail.
USE AN ARRAY for crying out loud!!!
Also, the sorting algorithm itself is fine, but you're not supposed to be sorting integers, you're supposed to be sorting structures.
My homepage
Advice: Take only as directed - If symptoms persist, please see your debugger
Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"