Finally got it to work!!! COMON YOU BEAUTY!! Eended up going through function and killing half my stupid variables, think I massively overcomplicated my function but got there in the end! Thanks...
Type: Posts; User: Fidelacchius
Finally got it to work!!! COMON YOU BEAUTY!! Eended up going through function and killing half my stupid variables, think I massively overcomplicated my function but got there in the end! Thanks...
Thanks mate, changed it and the program runs now HOHOO!! Only issue is that the function must not be working correctly as it doesn't sort [despair]. However I have noticed that for some reason in...
yes and no (sorry)... Yes because it makes perfect sense I gave that a go after your advice and I tried it... No because everytime I run it with those changes firefox crashes.... (facepalm)8-}
...
For the life of me I am not seeing this even though the hints are literally poking me in the eyes... when I have declared the variable unsorted and sorted do they need to be inside or outside the...
Ok I think I am getting close, my thinking behind the length = unsortedArray' thing was that the bubbleTest function needed to tell the bubbleSort function that the values within unsortedArray were...
OK guys thx to Nomisco I have rejigged my code to get rid of all the schoolboy errors (and there were LOADS) never knew firefox was so helpful :D
so to Nomisco :-bd
my code now reads as...
Thanks, Iv just caught that one and thanked him/her. still wont run though.... [dispair].
two followup questions....
1. I am on the right path right? im not missing the mark completely am I?...
yeah this is killing me, I get the concept but just cant see why this bad boy isn't working. am I on the right track or have I gone in completely the wrong direction?:o
Hey guys, OK first of all this IS an assignment question so although I really appreciate your help please try to point me in the right direction as I don't want to get into trouble! :)
I am trying...