thanks Dave, that works! i definitely would have never guessed to do it like that, but i can see how it works, and how mine was never going to work like it was. thanks again.
and dian, i actually did not want to sort it, so yeah. thanks for the reply though.
good forums. :)
Hey guys,
Ok, basically, I had to copy an array of integers that another class sent to mine, and then do various things to it. The final thing I have to do is have the method sorted() check the array (localArray) to see whether or not it is sorted. (Ascending and Descending both count as...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.