helpme18's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Members
Active Posts:
30 (0.02 per day)
Joined:
21-October 09
Profile Views:
1,457
Last Active:
User is offline Jun 14 2014 02:29 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
Intel
Favorite Gaming Platform:
Playstation
Your Car:
Who Cares
Dream Kudos:
0

Latest Visitors

Icon   helpme18 has not set their status

Posts I've Made

  1. In Topic: Method returns my array unsorted.

    Posted 1 Feb 2014

    [quote name='jon.kiparsky' date='01 February 2014 - 12:31 AM' timestamp='1391239876' post='1966019']
     return callme(arry, left, right++);
    
    


    Another nice catch. Fixed it. I'm still getting "Exception in thread "main" java.lang.StackOverflowError".
  2. In Topic: Method returns my array unsorted.

    Posted 1 Feb 2014

    if(right>=left)
    



    Hmm. I definitely made a mistake on that one. Left was initially suppose to be 0 and right was suppose to be the end of the array. So it was returning me my array unsorted because right was already greater than left on the first call.
    I tried
    if(left>=right)
    
    but now i'm getting a "Exception in thread "main" java.lang.StackOverflowError". We're getting close.
  3. In Topic: Method returns my array unsorted.

    Posted 31 Jan 2014

    I'll try to explain it as best as i can. The "left" variable starts at index 0 and the right variable starts at the end of the index. They are then bothide compared, if left is an odd number and right is an even number then they swap values. If left turns out to be an even number then no swap takes place and it points at the next index in the array. If right turns out to be an odd number then no swap takes place and it points at the next index in the array. It does this until all the even numbers are on the right sof the array.
  4. In Topic: IEEE floating point representation of C3330000

    Posted 17 Dec 2012

    View Postraghav.naganathan, on 17 December 2012 - 12:22 AM, said:

    Well, here is the link that explains your problem :)/>

    regards,
    Raghav



    LOL that was actually posted by me yesterday around the same time I posted it here. But the guy does do a good job of explaining it.
  5. In Topic: Getting a ArrayIndexOutofBounds runtime error. Can't find it.

    Posted 1 Nov 2012

    Wow, I looked that code over at least 10 times. Thank you guys, i'll make sure to post the error output next time.

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private
Website URL:
Website URL  http://

Friends

helpme18 hasn't added any friends yet.

Comments

helpme18 has no profile comments yet. Why not say hello?