Quote (AbDuCt @ Jul 31 2012 11:57am)
i myself dont even know this. if it works it works, but i can see where hes coming from. you are not actually fixing the logical errors with the other functions, just simply adding another piece of logic overtop of the errors to fix it. should paste bin your current code so i can take a look at it.
http://pastebin.com/d7zciZkfthat was the final project I turned in.
void selection() is where I made the change.
In class, he suggested changing the way swap works in it or to change something in findMax() to like *something -1* instead of just *something*
edit: again anything that seems silly was the professors orders. He made us use numTween twice to make sure that everyone in the class was doing it right (some people were trying to make the values local to the function)
This post was edited by Eep on Jul 31 2012 01:47pm