Search:

Type: Posts; User: aesguitar

Search: Search took 0.08 seconds.

  1. Replies
    6
    Views
    1,167

    Re: Creating an array from a string

    In your else statement, you need another if/then statement that contains another loop, while/do while/for, that looks for the next digit. Your if then statement could check to see if number.length()...
  2. Replies
    6
    Views
    1,167

    Re: Creating an array from a string

    OK, a NumberFormatException happens when you try to parse a non-number value into a number value.



    //this throws a NumberFormatException because bob isn't a number
    int x =...
  3. Replies
    6
    Views
    1,167

    Re: Creating an array from a string

    Well, first off, are there any exceptions that are being thrown? If so, please copy-paste the error message into the thread. Second, your intSort(); method is not in your posted code. If you want...
Results 1 to 3 of 3